Thunder Tools

Contrast Checker

Pick a foreground and background color to see the live contrast ratio and whether it passes the WCAG AA and AAA accessibility guidelines for normal and large text. A live preview shows the combination in practice.

Foreground
Background
The quick brown fox jumps over the lazy dog
Contrast ratio: 16.88:1
Normal text
AA Pass AAA Pass
Large text
AA Pass AAA Pass

How it works

Pick your foreground and background colors with the pickers or by typing a hex code. The contrast ratio is calculated from the relative luminance of both colors and compared against the WCAG thresholds for normal text (4.5:1 for AA, 7:1 for AAA) and large text (3:1 for AA, 4.5:1 for AAA).

Tip

If a combination fails, try darkening the darker color or lightening the lighter one — even small adjustments can push the ratio past the next threshold.

What counts as "large text"?

WCAG defines large text as at least 18pt (24px), or 14pt (~18.5px) bold — headings and similar prominent text can use the more lenient large-text thresholds.

More tools in this category

More categories

Thunder Tools is a small, ad-light collection of browser tools and calculators, built to be fast, free, and useful without getting in your way.

© 2026 Thunder Tools by Muted Thunder · All rights reserved.