WCAG Accessibility Checker
Palette audit
Text styles
Color specimens
A fresh perspective.
Monday, 14 September.
ContinueA fresh perspective.
Monday, 14 September.
Continue2 failing color pairs
WCAG 2.2Solid-color contrast only. These results do not certify a website's accessibility.
| Color pair | Ratio | Required | Result | Fix |
|---|---|---|---|---|
| Body / backgroundNormal text / AA | 14.680:1 | 4.5:1 | Pass | |
| Body / surfaceNormal text / AA | 13.492:1 | 4.5:1 | Pass | |
| Secondary / backgroundNormal text / AA | 5.008:1 | 4.5:1 | Pass | |
| Secondary / surfaceNormal text / AA | 4.603:1 | 4.5:1 | Pass | |
| Button text / fillNormal text / AA | 4.825:1 | 4.5:1 | Pass | |
| Input boundary / backgroundNon-text / AA | 2.875:1 | 3:1 | Fail | |
| Input boundary / surfaceNon-text / AA | 2.642:1 | 3:1 | Fail | |
| Focus / backgroundNon-text / AA | 3.794:1 | 3:1 | Pass | |
| Focus / surfaceNon-text / AA | 3.487:1 | 3:1 | Pass |
Auditing a palette, not a single pair
An interface palette fails in the combinations, not in the individual colors. This checker takes eight roles at once — background, surface, body text, secondary text, button fill, button text, input boundary and focus indicator — and evaluates every pair that actually touches in a typical layout.
Body and secondary text are checked against both the page background and raised surfaces, because a secondary label that passes on white can fail on a tinted card. Button text is checked against the button fill rather than the page.
Size and weight change the requirement
The threshold a text pair must meet depends on how the text is rendered. Set the size and weight for each text role and the required ratio adjusts: text at 24 pixels or more, or bold text at roughly 18.67 pixels or more, qualifies for the large-text thresholds of 3:1 at AA and 4.5:1 at AAA.
The input boundary and focus indicator are non-text roles. They are held to the 3:1 requirement under success criterion 1.4.11 regardless of any text setting.
Fixes are explicit, and the scope is bounded
Failing rows offer a suggested replacement that preserves the original hue and chroma. Nothing is changed until you apply it, so the palette you entered is never silently rewritten. The CSV report lists every pair with its measured ratio, required ratio, level and success criterion.
The audit covers opaque color pairs. Text over images or gradients, semi-transparent overlays, and every non-color WCAG requirement fall outside it. An AA or AAA result here is evidence about these pairs, not certification of a finished product.
Frequently asked questions
The contrast checker measures one foreground and background combination. This tool takes an eight-role palette and evaluates every pair that touches in a real layout, including text on both background and surface.