All news
5 articles · updated weekly See our Tools
All news
Technology

Color Converter Now Validates WCAG AAA Contrast

May update: check AA/AAA directly in the converter, with automatic suggestion of a darker or lighter shade.

Technology

Color accessibility is one of those things every team knows they should check and almost none actually does. Usually because the process was manual: open a separate contrast tool, paste both values, interpret the result, adjust manually.

Starting this week, the Quick Tools Color Converter does this built in.

What changed

The converter now shows the WCAG contrast ratio between any pair of colors you enter. You input the text color and background color, and it shows:

  • The calculated ratio (e.g. 4.7:1)
  • Whether it passes AA (minimum 4.5:1 for normal text, 3:1 for large text)
  • Whether it passes AAA (minimum 7:1 for normal text, 4.5:1 for large text)
  • A suggested alternative tone if the pair doesn't reach the desired level

Why AA vs AAA matters

WCAG AA is the legal and regulatory minimum in most contexts. Normal text on a public website should pass AA. If you're building interfaces for government agencies or accessibility is a contractual requirement, AA is the baseline.

WCAG AAA is the most rigorous level. It's not mandatory in most cases, but it's the standard for interfaces used by people with mild visual impairment. If your application has elderly users or those with low vision, AAA is worth the effort.

How to use the automatic suggestion

When a color pair doesn't reach the desired level, the Color Converter suggests a darker tone (for light text on dark background) or lighter tone (for dark text on light background). The suggestion preserves the original hue and saturation — it only adjusts brightness to the minimum necessary.

This saves that manual cycle of "adjust a bit darker, test again, still didn't pass, a bit more" that every designer knows.

A note on large text

WCAG defines "large text" as 18pt or 14pt bold (approximately 24px or 18.67px bold). For this size, contrast requirements are more relaxed: 3:1 for AA and 4.5:1 for AAA. The converter accounts for this in the check — you input the text size and it automatically applies the correct threshold.

Contrast checklist before publishing

Before publishing a screen, test at least four color pairs: main text on background, secondary text on background, links on background, and buttons in all states. Many problems only appear on hover, disabled, selected, or in small badges that use a category color with white text.

It's also worth testing contrast in real components, not just isolated tokens. A #666 text may pass on a white background but fail on a slightly gray card. The reverse also happens: a brand color that looks strong in a mockup may lose contrast when applied over gradients, images, or translucent surfaces.

When a pair fails, try changing brightness first, not hue. This preserves visual identity and prevents the interface from becoming a collection of disconnected colors. For design systems, document the approved combination: text-muted on surface, primary on background, danger on surface, and so on.

Common WCAG contrast mistakes

The first mistake is only testing the light theme. Dark themes often have issues with gray text, borders, and placeholders. The second is ignoring small text inside buttons, chips, and tables. The third is trusting visual perception: monitors, brightness, and color blindness completely change how colors are read.

Use the tool as part of the review workflow. Paste the text color, paste the background color, confirm AA for normal text and AAA when the text is critical. If the product serves a broad audience, AA should be the minimum operational standard, not an optional improvement.

Frequently asked questions

Do I always need to aim for AAA?

No. AAA is excellent for long-form content and high-accessibility interfaces, but AA is the most common baseline for digital products. The important thing is not to publish pairs below AA for essential text.

Does contrast apply to icons?

Yes. Icons that communicate state, error, action, or navigation also need sufficient contrast. If the icon is purely decorative, the impact is lower, but it still affects visual legibility.

When to review again

Revisit contrast whenever you change theme, font, typographic weight, or brand color. A small change in font-weight, for example, can turn previously comfortable text into difficult-to-read text. Contrast is not a one-time check; it should accompany the design system cycle.