Check WCAG 2.1 color contrast ratios for accessibility compliance. Test any two colors for AA and AAA ratings with live preview and color pickers.
Large Text (18pt+)
Normal text preview — The quick brown fox jumps over the lazy dog.
The Web Content Accessibility Guidelines define contrast requirements to ensure text is readable for all users.
The legal minimum for web accessibility in most jurisdictions. Requires 4.5:1 for normal text (under 18pt) and 3:1 for large text (18pt+ bold or 24pt+ regular). Most commercial websites target this level.
The gold standard for accessibility. Requires 7:1 for normal text and 4.5:1 for large text. Recommended for government sites, healthcare, education, and sites serving older or low-vision users.
WCAG defines large text as 18pt (24px) or larger when bold, or 24pt (32px) or larger regardless of weight. Large text gets relaxed ratio requirements because it's inherently more readable.
Ratio = (L1 + 0.05) / (L2 + 0.05) where L1 is the lighter color's relative luminance. Uses sRGB gamma correction. The scale is logarithmic. A ratio of 3:1 means the lighter is 3x brighter than the darker.
More free color tools for designers and developers.
L = 0.2126 * R + 0.7152 * G + 0.0722 * B. The ratio is: (Lighter + 0.05) / (Darker + 0.05). This gives a value from 1:1 (identical) to 21:1 (pure white on pure black).