99+ Free Tools
← Back ✕ Close

Contrast Checker

Does your text read clearly? Check it against WCAG. Nothing is uploaded or stored.

Text on a screen with high contrast
The tool checks colour contrast only; it does not test font size, spacing or other readability factors.

Colours

Enter two colours.

Check a whole palette

Result

—
AA normal text (4.5:1)—
AA large text (3:1)—
AAA normal text (7:1)—
AAA large text (4.5:1)—

The quick brown fox jumps over the lazy dog

The quick brown fox jumps over the lazy dog. Large text is 24 px bold; normal text is 16 px.

How the contrast checker works

Formula. The ratio uses the WCAG relative-luminance formula: each channel is linearised, then luminance = 0.2126R + 0.7152G + 0.0722B, and the ratio is (lighter + 0.05) / (darker + 0.05).

Thresholds. AA needs 4.5:1 for normal text and 3:1 for large text (24 px, or 18.66 px bold); AAA needs 7:1 normal and 4.5:1 large.

Simulation. The colour-blindness view uses the published Machado matrices; it is a basic simulation, not a medical test.

Local only. All work happens in your browser. Nothing is uploaded, stored or shared.