Luminance & Brightness Comparator
Compare colors based on their luminance, brightness, and contrast ratios. Ensure your color combinations meet WCAG accessibility guidelines and understand how different colors are perceived by the human eye.
Color Analysis
Compare two colors to analyze their luminance, brightness, and contrast ratio
Color 1
Foreground color metrics
HEX
#000000
RGB
0, 0, 0
HSL
0°, 0%, 0%
Relative Luminance
0.000
Perceived Brightness
0.0%
Color 2
Background color metrics
HEX
#ffffff
RGB
255, 255, 255
HSL
0°, 0%, 100%
Relative Luminance
1.000
Perceived Brightness
100.0%
Contrast Analysis
WCAG compliance results
Contrast Ratio: 21.00:1
Normal Text
AAA
The quick brown fox jumps over the lazy dog
Large Text
AAA
Large Text Example
WCAG 2.1 Requirements
- Level AA requires 4.5:1 for normal text and 3:1 for large text
- Level AAA requires 7:1 for normal text and 4.5:1 for large text
- Large text is defined as 18pt+ or 14pt+ bold
Understanding Color Perception
- Human eyes are most sensitive to green light
- Yellow appears brighter than blue at equal intensity
- Contrast is more important than absolute brightness
- Color perception varies among individuals
- Environmental factors affect color appearance
- Screen calibration impacts color display
Accessibility Guidelines
- Normal text requires 4.5:1 minimum contrast (AA)
- Large text requires 3:1 minimum contrast (AA)
- Enhanced contrast requires 7:1 for normal text (AAA)
- Consider color blindness when choosing combinations
- Test in different lighting conditions
- Provide alternative visual indicators besides color