Vérificateur de Contraste WCAG

Vérifiez le ratio de contraste entre deux couleurs. Verdict pass/fail pour WCAG AA et AAA à toute taille.

Aa — Large text 24px / 18px bold
Aa — Normal text 16px
Aa — Small text 12px

What is this for?

WCAG (Web Content Accessibility Guidelines) defines a minimum contrast ratio between text and its background so people with low vision, colour-blindness, or in glare conditions can still read it. This tool computes that ratio (1:1 = identical, 21:1 = pure black on pure white) and tells you whether your colour pair passes WCAG 2.1 Level AA or AAA, separately for normal text, large text, and UI components. The maths follows the W3C luminance formula exactly.

When to use it

The thresholds

Common gotchas