Colour Contrast Checker

Check text and background contrast against WCAG AA and AAA rules.

Runs on your device. Files are never uploaded.
Report a problem

How to use Colour Contrast Checker

  1. Pick the text colour
  2. Pick the background colour
  3. Read the ratio and pass/fail

About this tool

Pick a text colour and a background colour and see the contrast ratio with pass or fail for AA and AAA, for normal and large text and for icons. A live swatch shows both colours side by side.

Like every tool on YantraStack, it is free with no accounts, limits or watermarks, and it works offline once the page has loaded. See how to verify that nothing is uploaded.

Questions

What ratio do I need?

WCAG AA needs 4.5:1 for normal text and 3:1 for large text. AAA needs 7:1 and 4.5:1.

Guides

Related tools

↑ ↓ navigateEnter openEsc close