ADVERTISEMENT · Top banner
Your Google AdSense unit renders here once you set your publisher ID.

WCAG Color Contrast: How to Make Text Readable & Accessible

Low-contrast text — light gray on white, say — looks elegant but excludes millions of users with low vision, and it's penalized in accessibility audits. The WCAG guidelines give clear numbers to hit. Here's how contrast works and how to pass.

What "contrast ratio" means

Contrast is expressed as a ratio between the text color and its background, from 1:1 (identical, invisible) to 21:1 (black on white). The bigger the ratio, the easier it is to read.

The thresholds to remember

LevelNormal textLarge text*
AA (minimum)4.5:13:1
AAA (enhanced)7:14.5:1

*Large text = 18.66 px bold or 24 px regular and up. AA is the practical target for most sites; AAA is stricter and ideal for body-heavy or accessibility-focused content.

How to fix failing text

UI elements count too

WCAG 2.1 requires 3:1 contrast for meaningful non-text elements like form borders, icons and focus outlines — not just text. Don't forget your placeholder text and disabled states.

Check it instantly

Use the contrast checker in our color tools: enter your text and background colors and it shows the exact ratio plus pass/fail for AA and AAA, normal and large. Adjust until everything's green before you ship.

FAQ

What contrast ratio should I aim for?

At least 4.5:1 for normal text (AA). Aim for 7:1 (AAA) on long-form reading content if you can.

Does large text get a lower requirement?

Yes — 3:1 for AA — because bigger letterforms are easier to read at lower contrast.

How is the ratio calculated?

From the relative luminance of the two colors, using the official WCAG formula — the same one our checker uses.

Open the Color Tools →

ADVERTISEMENT · In-content
Your Google AdSense unit renders here once you set your publisher ID.

More free tools

Word Counter
Count words, characters, sentences & reading time — instantly, privately.
Image Compressor
Compress JPG, PNG, WebP & GIF in your browser. No limits, no uploads.
PDF Tools
Merge, split, rotate & reorder PDFs. Unlimited, free, no watermark.
QR Code Generator
Free QR codes that NEVER expire and don't track your scans.
Password Generator
Strong, random passwords generated locally. Never sent anywhere.
Unit Converter
Convert length, weight, temperature, data, speed & more — instantly.
ADVERTISEMENT · Footer
Your Google AdSense unit renders here once you set your publisher ID.