Color Contrast Checker: instructions and limitations
Check text and background colors against WCAG contrast ratios and AA or AAA thresholds.
How to use Color Contrast Checker
Enter foreground and background colors to calculate their luminance and WCAG contrast ratio. Check normal-text AA, large-text AA and AAA.
What to know before you start
The check is numerical and assumes solid colors. It cannot detect actual font size, antialiasing, gradients or background images. Review the full accessibility context.