WCAG Contrast Checker

Check if your color combinations meet WCAG accessibility standards. Test AA and AAA compliance in real time.

What is a WCAG Contrast Checker?

A WCAG Contrast Checker calculates the contrast ratio between foreground and background colours. This tool tests AA and AAA thresholds for normal and large text and shows a live preview with the numerical ratio.

The WCAG Contrast Checker calculates the ratio between text and background colours and tests AA and AAA thresholds for normal and large text. It includes a live preview and numerical result. It is for anyone checking whether website text remains readable.

How to use the WCAG Contrast Checker

Enter the exact foreground and background hex colours used by your design.

Which contrast threshold applies to my text?

This tool tests AA at 4.5:1 for normal text and 3:1 for large text. AAA is 7:1 for normal text and 4.5:1 for large text. Normal body copy should meet the applicable AA requirement at minimum.

A ratio of 4.6:1 passes AA normal text but fails AAA normal text. Check real rendered colours, including hover and disabled states. Contrast is only one part of accessibility, so also review font size, focus and meaning.

WCAG Contrast Checker: questions and answers

What colours should I enter?

Use the final foreground and background values seen by the reader. If text sits over an image or translucent panel, test the resulting composite colours rather than only the original CSS values.

Does a pass mean my whole page is accessible?

No. A pass covers the selected colour pair against the listed contrast thresholds. It does not test keyboard access, labels, headings, focus visibility or other requirements.

What is the difference between AA and AAA?

AAA uses stricter contrast thresholds than AA in this checker. Normal text needs 4.5:1 for AA and 7:1 for AAA. Large text needs 3:1 and 4.5:1 respectively.

Does the WCAG Contrast Checker use credits?

The ratio calculation and pass or fail results have no per-run credit charge. They run in your browser from two colour values. No page scan or account-based analysis is involved.

What this tool does

WCAG Contrast Checker runs in your browser and has no per-run credit charge. Published by Digital Bridge in Gorey, Co. Wexford.

Related Design & Brand tools

See all tools