πŸ‘οΈColor Contrast Checker

Check WCAG color contrast ratios for accessibility

Almost before we knew it,

we had left the ground. The quick brown fox jumps over the lazy dog.

Contrast ratio

14.68:1

AA β€” Normal text (β‰₯4.5)Pass
AA β€” Large text (β‰₯3)Pass
AAA β€” Normal text (β‰₯7)Pass
AAA β€” Large text (β‰₯4.5)Pass

About the Color Contrast Checker

Color Contrast Checker measures the WCAG contrast ratio between a text color and its background, then tells you whether it passes AA and AAA accessibility levels for normal and large text. A live preview shows how the combination actually looks.

It uses the official WCAG relative-luminance formula and runs entirely in your browser.

Common use cases

  • Verifying text is readable against its background
  • Meeting WCAG 2.1 AA/AAA accessibility requirements
  • Choosing accessible brand and UI colors
  • Auditing buttons, links, and labels for contrast

How to use the Color Contrast Checker

  1. Set the foreground (text) color via the picker or a HEX/RGB value.
  2. Set the background color the same way.
  3. Read the contrast ratio and the AA/AAA pass or fail badges.

Frequently asked questions

What contrast ratio do I need?

WCAG AA requires at least 4.5:1 for normal text and 3:1 for large text. AAA requires 7:1 and 4.5:1 respectively.

What counts as "large" text?

Roughly 18pt (24px) regular, or 14pt (18.66px) bold and larger. Large text is allowed a lower contrast threshold.

Which color formats are supported?

HEX (#fff or #ffffff) and rgb()/rgba() values, plus the native color picker.