Free tool
Color contrast checker for WCAG and AODA
Test text and background colours against WCAG 2.2 AA and AAA, and get a passing colour.
AA meets Ontario’s AODA website rule (WCAG 2.0 AA) and the Accessible Canada Act standard (built on WCAG 2.1 AA). AODA website requirements
Related guide: AODA website requirements for Ontario businesses
How to use the color contrast checker
Pick your colours
Type or paste a colour code, or use the picker, for your text and the background behind it.
Set your text size
Enter the size in pixels and switch on Bold if the text is bold. Large text needs less contrast.
Read and fix
Check the pass and fail grid. If a level fails, apply the nearest passing colour and share the link with your designer.
What contrast ratio means
Contrast ratio compares the brightness of your text with the brightness of the background behind it. It runs from 1:1, a colour on itself, to 21:1, black on white.
The higher the number, the easier words are to read for people with low vision, on a phone in bright sun or on an older screen. Pairs that look fine on a designer’s monitor often fall short there.
WCAG contrast levels at a glance
WCAG sets two levels for text and one for icons and borders. Most laws ask for AA.
| Level | Normal text | Large text | Criterion |
|---|---|---|---|
| AA | 4.5:1 | 3:1 | 1.4.3 Contrast (Minimum) |
| AAA | 7:1 | 4.5:1 | 1.4.6 Contrast (Enhanced) |
| Icons, borders, focus rings | 3:1 | 3:1 | 1.4.11 Non-text Contrast (WCAG 2.1+) |
Large text is 24px and up, or 18.66px and up when bold. The ratio must meet the number exactly: 4.49:1 fails AA.
Which Canadian rules ask for it
Ontario’s AODA requires the designated public sector and organizations with 50 or more employees in Ontario to make public websites meet WCAG 2.0 Level AA. The text contrast rule is the same in WCAG 2.0 and 2.2, so a text pair that passes AA here meets both. The icon and border rule came in WCAG 2.1.
The Accessible Canada Act covers the federal government and federally regulated businesses, such as banks, airlines and telecoms. Its digital rules point to CAN/ASC-EN 301 549, whose web requirements are built on WCAG 2.1 Level AA. Other provinces have their own accessibility laws; building to WCAG 2.2 AA covers all of them.
Questions, answered
What is a good colour contrast ratio?
At least 4.5:1 for normal text and 3:1 for large text, which is WCAG level AA. Aim for 7:1 on body text if you want AAA.
What counts as large text?
WCAG treats text as large from 18pt, about 24px, or from 14pt bold, about 18.66px. Large text needs 3:1 for AA; smaller text needs 4.5:1.
Does the AODA require colour contrast?
Yes, if the website rule applies to you. It requires WCAG 2.0 Level AA, which includes 4.5:1 for normal text and 3:1 for large text.
Do buttons, icons and form fields need contrast?
Yes, under WCAG 2.1 and 2.2. Icons that carry meaning and the edges that show where a field or button is need 3:1 against the colours next to them. The words inside a button follow the text rules.
Do logos have to meet contrast rules?
No. Text in a logo or brand name has no contrast requirement, and neither does purely decorative text or text on a disabled control.
How do I check text over a photo or gradient?
Test your text colour against the lightest part of the image behind it. If it fails there, put a solid or darkened panel behind the words.
More free tools
All free toolsPNG to WebP converter
Convert PNG and JPG images to WebP in bulk. Files stay on your device.
Open toolSchema markup generator
Build JSON-LD for your business, ready to paste into your site.
Open toolGoogle review link generator
Get the link that opens your Google review box, plus a QR code to print.
Open tool
Website Redesign
Hard to read on your own site?
Get a free redesign review.
Contact
Let’s build yours.
- Free redesign review
- No commitment
- Quick response
- hello@belocal.ca
- Phone
- (365) 300-0112
- Hours
- Mon-Fri, 9am-6pm ET