Accessibility

Typography Contrast Tool

Test text color readability at real font sizes and weights against WCAG rules.

Accessibility

Why Use the Typography Contrast Tool?

A color pair can pass for headings yet fail for body copy, and this typography contrast tool shows exactly where that line falls. Pick a text color, a background color and a regular or bold weight, and the tool renders samples at 12, 14, 16, 19, 24 and 32 pixels. Each size is marked pass or fail for WCAG AA and AAA using the official large-text rule, which helps type-focused designers decide the smallest safe size for captions, labels and paragraphs.

How to Use the Typography Contrast Tool

  1. Choose the text color with the picker or type a HEX, rgb(), hsl() or CSS color name value.
  2. Choose the background color that the text will sit on.
  3. Select Regular or Bold from the font weight menu to see the samples rendered in that weight.
  4. Scan the samples from 12px up to 32px and note the smallest size that passes the level you need, AA or AAA, then use that as your minimum for this color pair.

Best For

  • Deciding whether a muted gray can be used for small captions or only for larger headings.
  • Setting the minimum font size for a brand color used in links, labels or footer text.
  • Checking that headline and subheading colors on a landing page stay legible at their actual sizes.
  • Explaining to stakeholders why a color works for a 32px title but not for 14px body text.

Pro Tip

Bold text only qualifies as large under WCAG from 18.66px (14pt), which is why the 19px sample flips to the lower large-text threshold when you switch to Bold while it stays normal text at regular weight. If a color pair only passes at the large-text threshold, a bold label needs to be at least 19px and a regular one at least 24px before that lower ratio applies. Very thin or light font weights look lower in contrast than the ratio suggests, so use a regular or heavier weight for small text whenever the ratio is close to the limit.

FAQ

Typography Contrast Tool FAQ

What font size counts as large text in WCAG?

Large text is at least 18 points, about 24px, at regular weight, or at least 14 points, about 18.66px, when bold. Large text needs a contrast ratio of 3:1 for AA and 4.5:1 for AAA. Smaller text must reach 4.5:1 for AA and 7:1 for AAA.

Does bold text need less contrast?

Only when it is big enough to count as large text, which means at least 14 points or about 18.66px. Bold text below that size must meet the same 4.5:1 AA ratio as regular text. Bold does make small text easier to read, but WCAG does not lower the requirement for it.

Is there a minimum font size for accessibility?

WCAG does not set a minimum font size, but it does require that text can be resized up to 200% without loss of content or function. Many designers use 16px as a comfortable default for body text on the web. Smaller sizes are best kept for short captions and labels with strong contrast.

Why does thin text look harder to read even when it passes contrast?

Thin strokes cover fewer pixels, and anti-aliasing blends their edges with the background, so the text appears lighter than its actual color. The WCAG contrast ratio is calculated from the color values alone and only considers weight through the large-text rule. For thin or light fonts, aim well above the minimum ratio.

Learn more

Guides for the Typography Contrast Tool

Choosing Readable Text Colors for the Web

Pick text colors that stay readable across backgrounds, sizes, and devices using contrast, weight, and sensible neutral choices.

Read Guide

How to Use Color Contrast in Marketing Landing Pages

Use contrast to guide attention, strengthen calls to action, and improve readability without making the page feel loud.

Read Guide
Copied