Toolzie

Accessibility Color Contrast Checker

Free WCAG AA & AAA accessibility checker — test any color pair for ADA, AODA, Section 508, and EN 301 549 compliance

15.0:1
Contrast Ratio
Normal Text (AA): PASS
Normal Text (AAA): PASS
Large Text (AA): PASS
Large Text (AAA): PASS
Live Preview
The quick brown fox jumps over the lazy dog.
Large Text — 24px or 18px Bold

Quick Answer: WCAG Accessibility Color Contrast in 2026

WCAG AA = 4.5:1 for normal text, 3:1 for large text. WCAG AAA = 7:1 for normal text, 4.5:1 for large text. Use this checker to verify any foreground/background pair in real time.

4.5:1
AA Normal Text
3:1
AA Large Text
7:1
AAA Normal Text
4.5:1
AAA Large Text
21:1
Maximum (B on W)

Frequently Asked Questions About Accessibility & Color Contrast

What is WCAG color contrast?

WCAG (Web Content Accessibility Guidelines) color contrast defines the minimum contrast ratios required between foreground (text) and background colors for accessible web content. WCAG 2.1 AA requires 4.5:1 for normal text and 3:1 for large text. WCAG 2.1 AAA requires 7:1 for normal text and 4.5:1 for large text. These standards are enforced by ADA, AODA, Section 508, and EN 301 549.

What is a good contrast ratio?

A good contrast ratio is at least 4.5:1 for normal text (WCAG AA) and 7:1 for enhanced accessibility (WCAG AAA). Large text (18pt+ regular or 14pt+ bold) only needs 3:1 for AA. The highest possible contrast ratio is 21:1 (pure black on pure white). Anything below 3:1 is considered inaccessible for body text.

How do I check color contrast for accessibility?

Enter the foreground (text) color and background color in HEX, RGB, or HSL format into this tool. It calculates the relative luminance of each color using the WCAG 2.x formula and divides them to produce a contrast ratio. The tool then reports whether the combination passes WCAG AA and AAA for both normal and large text, and shows the closest accessible color if it fails.

Is there an ADA-compliant color contrast checker?

Yes. The ADA (Americans with Disabilities Act) and AODA (Accessibility for Ontarians with Disabilities Act) both reference WCAG 2.1 AA as the technical standard. This means any color combination with a 4.5:1 contrast ratio for normal text and 3:1 for large text is ADA-compliant. Our free checker applies the WCAG 2.1 formula in real time and is suitable for ADA, AODA, Section 508, and EN 301 549 compliance audits.

What colors fail WCAG color contrast?

Common failing combinations include: light gray on white (e.g., #999 on #fff is only 2.85:1, fails AA), yellow on white (1.07:1, fails everything), light blue on white (2.49:1, fails AA), dark red on dark blue (1.42:1, fails everything), and pastel green on pastel yellow. Generally, any combination where the colors are similar in lightness will fail. The tool flags failing combinations in red and suggests a nearest-passing alternative.

What is the contrast ratio for large text?

For WCAG AA, large text (18pt regular or 14pt bold and above) needs a contrast ratio of at least 3:1. For WCAG AAA, large text needs at least 4.5:1. Large text is held to a lower standard because it is easier to read at lower contrast. Note that 18pt is approximately 24px and 14pt is approximately 18.66px in CSS.

What is the WCAG 2.1 contrast formula?

The WCAG 2.x contrast formula calculates relative luminance for each color: L = 0.2126 R + 0.7152 G + 0.0722 B, where R, G, and B are linearized sRGB values (gamma-corrected with a 0.03928 threshold). The contrast ratio is (L1 + 0.05) / (L2 + 0.05), where L1 is the lighter color. The result ranges from 1:1 (no contrast) to 21:1 (black on white). This tool uses the exact WCAG 2.1 formula in JavaScript.

What is the color contrast for accessible design?

For accessible design, use dark text on light backgrounds (e.g., #0f172a on #ffffff = 17.69:1) or light text on dark backgrounds (e.g., #ffffff on #1e293b = 14.30:1). Avoid gray on white (#999 on #fff is only 2.85:1), pure red on pure green (3.05:1, also colorblind-unfriendly), and low-contrast pastels. Aim for 4.5:1 minimum (AA) on all body text and 7:1 (AAA) on user-facing text where possible. Use this checker to verify every color pair before publishing.

Is there an accessibility color checker for WCAG 2.2?

Yes — this accessibility color contrast checker applies the WCAG 2.1 contrast formula in real time. WCAG 2.2 (released October 2023) keeps the same 4.5:1 AA and 7:1 AAA contrast thresholds, so any color pair that passes this checker passes WCAG 2.2 as well. WCAG 2.2 added new focus-indicator and target-size rules, but contrast ratios are unchanged. For a deeper walkthrough of the new criteria, see our WCAG Color Contrast Guide.

What is the best free ADA color contrast checker?

The best free ADA color contrast checker is one that applies the WCAG 2.1 relative-luminance formula and reports both AA (4.5:1) and AAA (7:1) pass/fail for normal and large text. ADA Title III and AODA both reference WCAG 2.1 AA as the technical standard — so any color pair that passes 4.5:1 for normal text and 3:1 for large text is ADA-compliant. This tool does both checks in real time, with no signup, and is suitable for ADA, AODA, Section 508, and EN 301 549 audits.

Quick Reference — Common Color Combinations
✅ Black (#000) on White (#fff) — 21:1 (AAA)
✅ Navy (#0f172a) on White (#fff) — 15:0:1 (AAA)
✅ White (#fff) on Indigo (#6366f1) — 7.7:1 (AAA)
⚠️ Gray (#6b7280) on White (#fff) — 4.6:1 (AA)
❌ Gray (#9ca3af) on White (#fff) — 2.8:1 (FAIL)
❌ Yellow (#ffeb3b) on White (#fff) — 1.1:1 (FAIL)

You Might Also Like

Color Converter Color Palette Generator Color Picker from Image

📘 Want a deeper dive on WCAG 2.2 contrast?

Our WCAG Color Contrast Guide walks through every AA and AAA rule, the 4.5:1 and 7:1 formulas, common failing combinations, and how to fix them. 50+ examples for designers and developers.

Read the full WCAG guide →

Estimates only. Not tax, financial, or legal advice. Full disclaimer · Terms