DEVELOPER

Color Contrast Checker

Two colors in — contrast ratio and WCAG pass or fail out.

Sample text Aa
Contrast ratio—
WCAG AA normal text (4.5:1)—
WCAG AA large text (3:1)—
WCAG AAA normal text (7:1)—

What is contrast ratio?

Contrast ratio measures how distinguishable text is from its background, on a scale from 1:1 (identical colors) to 21:1 (black on white). It is computed from the two colors' relative luminance, which weights red, green and blue by how the human eye perceives them.

What do AA and AAA mean?

WCAG, the web accessibility standard, sets minimum ratios: AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1 for normal text and 4.5:1 for large text. Large text means bold text at 14pt and up, or regular text at 18pt and up.

Is anything stored?

No. Everything runs in your browser — your colors never leave your device.