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 GuideAccessibility
Test text color readability at real font sizes and weights against WCAG rules.
Accessibility
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.
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
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.
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.
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.
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
Pick text colors that stay readable across backgrounds, sizes, and devices using contrast, weight, and sensible neutral choices.
Read GuideUse contrast to guide attention, strengthen calls to action, and improve readability without making the page feel loud.
Read Guide