WCAG Contrast Checker
Test foreground and background color combinations against WCAG 2.2 AA and AAA standards.
In
Design system & tested presets
Rendered preview
Headline Text Preview (9.25:1)
This sample paragraph shows how regular body text renders at this contrast level. Clear typography ensures readability across varied screens and lighting conditions.
Out
Contrast Ratio
9.25:1
WCAG 2.2 standard requirement is 4.5:1 for body text and 3:1 for large text.
WCAG 2.2 compliance breakdown
How WCAG Contrast Checker works
The tool calculates the relative luminance of both colors using the WCAG 2.2 sRGB formula and determines the contrast ratio from 1:1 up to 21:1.
WCAG 2.2 AA requires a minimum ratio of 4.5:1 for normal text and 3:1 for large text (18pt or 14pt bold).
WCAG 2.2 AAA sets the higher bar at 7:1 for normal text and 4.5:1 for large text. UI icons and buttons require 3:1.
Worked example
A deep green ink (#1f4a3f) on warm cream (#fff6e0) yields a 9.18:1 contrast ratio — passing both WCAG AA and AAA with top marks for effortless readability.
The tool above opens with these numbers. Change them to run your own scenario, or press Reset to come back to this example.
Frequently asked questions
Related tools
Smaller images, same look — compressed entirely in your browser.
Exact pixel dimensions with the aspect ratio locked on.
Frame the shot — numeric crop with a live selection overlay.
Four harmony systems from one base colour — click to copy.
HEX, RGB and HSL in one place — plus the contrast verdict.
Simplify any ratio and scale dimensions without distorting.
- contrast
- wcag
- accessibility
- a11y
- color
- design tokens