Color Contrast Checker (WCAG)
Check if a foreground/background colour pair meets WCAG AA and AAA accessibility standards.
Features
How to Use
1. Set the text and background colors — the specimen and WCAG verdict update live.
2. Switch specimens (type / article / interface) to judge the pair in realistic use; press S to swap the two colors.
3. If a level fails, use the one-click fix — it adjusts lightness only, keeping your hue — or copy the WCAG report.
About this tool
Text that is too close in brightness to its background is hard to read for everyone and impossible for some people. The Web Content Accessibility Guidelines (WCAG) measure this with a contrast ratio from 1:1 to 21:1, based on the relative luminance of the two colours. Level AA asks for at least 4.5:1 for body text and 3:1 for large text (24px, or about 18.66px bold); Level AAA raises that to 7:1 and 4.5:1. This checker calculates the ratio live, shows pass or fail for all four thresholds, and renders a real type specimen, article and interface so you can judge the pair in context. If a level fails, it suggests the nearest text colour that passes by changing lightness only.