WCAG Color Contrast Checker
Check two HEX colors for WCAG AA and AAA text contrast. See the ratio and separate results for normal and large text.
Color Selection
Choose foreground and background colors
Sample Text (24px Bold)
This is regular body text at 16px to demonstrate how your color combination appears in typical paragraph content.
WCAG Text Contrast
Web Content Accessibility Guidelines results
Contrast Ratio
21.00:1
Normal text
Level AA
Requires 4.5:1
Pass
Level AAA
Requires 7:1
Pass
Large text (18 pt or 14 pt bold and up)
Level AA
Requires 3:1
Pass
Level AAA
Requires 4.5:1
Pass
Worked example
Foreground #707070 on background #FFFFFF gives 4.95:1. It passes AA and fails AAA for normal text, and passes both levels for large text.
Enter a foreground and background color. For normal text, AA requires 4.5:1 and AAA requires 7:1. For large text, AA requires 3:1 and AAA requires 4.5:1.
Large text is at least 18 pt (24 CSS px) or 14 pt bold (about 18.67 CSS px). The check applies to this color pair and uses the unrounded ratio.
W3C guidance on text contrastRelated Tools
Analyze the readability of your text using multiple metrics
Convert colors between HEX, RGB, HSL, and HSB formats