Skip to content
Web4tools

Color Contrast Checker

Check text contrast against WCAG AA and AAA at a glance.

Runs in your browserNo accountNo watermark

In short

To check colour contrast, enter a text colour and a background colour. You'll see the WCAG contrast ratio (from 1:1 to 21:1), a live preview, and pass/fail results: normal text needs at least 4.5:1 for AA and 7:1 for AAA; large text needs 3:1 for AA and 4.5:1 for AAA.

How to use the Color Contrast Checker

  1. 1Enter or pick the text colour.
  2. 2Enter or pick the background colour.
  3. 3Read the ratio and adjust until the levels you need pass.

Understanding WCAG contrast

The Web Content Accessibility Guidelines measure contrast from the relative luminance of two colours. Level AA is the common legal and industry target; AAA is stricter. "Large text" means at least 24 px regular or 18.66 px bold. Icons, form borders and focus indicators need at least 3:1 against their surroundings.

Frequently asked questions

What contrast ratio do I need?

4.5:1 for normal body text and 3:1 for large text to meet WCAG AA, which is what most accessibility laws reference.

Does grey text on white pass?

#767676 on white is the lightest grey that passes AA for normal text (about 4.54:1).

Is my text or data sent anywhere?

No. This tool runs entirely in your browser using JavaScript. Nothing you type is uploaded, stored or logged.

Last updated