Contrast Checker
WCAG contrast ratios for text readability
Suggestion
Excellent contrast. This pairing passes WCAG AAA for normal text.
Large text sample
The quick brown fox jumps over the lazy dog. This is normal body text at a regular size.
Contrast ratio
17.40:1
Normal text, AA
4.5:1 required
Normal text, AAA
7:1 required
Large text, AA
3:1 required
Large text, AAA
4.5:1 required
Ratios follow the WCAG 2.x formula. Large text means 18pt (24px) or 14pt (18.66px) bold and larger. Everything runs in your browser.
About this tool
Beautiful design means nothing if people cannot read it. This checker computes the exact WCAG contrast ratio for any text/background pair and tells you whether it passes AA and AAA.
Designers use it to validate palettes, developers to check themes. Adjust either color live until every badge turns green.
How to use the contrast checker
- 1Pick the text and background colors.
- 2See the contrast ratio instantly.
- 3Check AA/AAA badges for normal and large text.
Frequently asked questions
Related tools
More free tools you might find useful.
Color Picker
Pick colors and convert HEX, RGB and HSL instantly
Developer ToolsColor Converter
Convert colors between HEX, RGB, HSL, and CMYK.
Developer ToolsImage Color Picker
Pick any color from an image
Image ToolsRegex Tester
Test regular expressions live with highlighted matches
Developer ToolsPart of Developer Tools on JoliTools, free tools, no sign-up.