Free WCAG Color Contrast Checker
Pick a text and background color and see the contrast ratio, the WCAG AA and AAA results, and the nearest passing color that keeps your brand's hue.
- WCAG 2.2 AA and AAA
- A passing color, one click away
- Free, no signup
Large text looks like this
Normal text, the size most of a page is set in, looks like this.
A button border
Contrast
- AA normal textFails: needs 4.5:1
- AA large textFails: needs 3:1
- AAA normal textFails: needs 7:1
- AAA large textFails: needs 4.5:1
- Buttons, icons and form bordersFails: needs 3:1
Want a site that is readable, accessible and fast? See our web design
WCAG Contrast Levels Explained
Contrast is the difference in brightness between text and its background, written as a ratio from 1:1 (none) to 21:1 (black on white).
- AA normal text: 4.5:1
- The level most laws and audits ask for, for body text. WCAG 2.2: 1.4.3 Contrast (Minimum)
- AA large text: 3:1
- Large text is at least 24 pixels, or 18.66 pixels (14pt) in bold. Its bigger strokes stay readable at lower contrast.
- AAA: 7:1 and 4.5:1
- The enhanced level for normal and large text, for sites that serve many older or low-vision readers. WCAG 2.2: 1.4.6 Contrast (Enhanced)
- Buttons and icons: 3:1
- Form borders, icons and focus rings need 3:1 against what is next to them, so people can see what to click. WCAG 2.2: 1.4.11 Non-text Contrast
- No rounding up
- A ratio of 4.49:1 fails AA. The ratio is cut to two decimals, never rounded to pass.
How to Fix Colors That Fail
Most failing pairs pass with a small change to one color.
Enter both colors
Type a hex, RGB or HSL value, or use the color picker. The preview shows large text, normal text and a button border.
Read the results
Body text needs AA normal (4.5:1). Headings over 24 pixels can use the large-text level.
Use the nearest passing color
The suggestion keeps your color's hue and saturation and only changes its lightness, so it still looks like your brand.
Check every pair
Links, buttons, form placeholders and text on images are the usual failures. Check each against its real background.
More Design Tools
When You Want It Done for You
Accessible colors are one part of a site that works for every visitor.
SEO audit services
The Revenue Leak Audit: every technical issue on your site, with the fix and what it costs you.
OpenColor Contrast Questions
What contrast ratio do I need?
How is the contrast ratio calculated?
Is AA or AAA required?
Does the suggested color change my brand color?
Does contrast matter for SEO?
Can I check colors with transparency?
Want a Site That Is Fast, Accessible and Built to Rank?
Tools fix one thing at a time. A free website plan covers the lot: the pages you need, a copy outline, a fixed price and a launch date, live in 14 days.
- The pages you need, and the one job each page does
- What your current site loses, in leads and money
- A fixed price and a 14-day launch date
- An honest answer on whether you need a new site at all
Rather talk it through? Call +1 (217) 677-5905