Skip to the checklist
The Focus RingWCAG · screen readers · assistive tech

Checklist › Visual

Text Contrast: Passing AA Is the Floor, Not the Goal

Filed 2026-10-14

1 Why this criterion exists

Text is the primary interface of the web. Almost every task, from reading a form label to confirming a purchase, depends on someone being able to distinguish letters from the surface behind them. WCAG 1.4.3 Contrast (Minimum) exists because that distinction is not a matter of taste; it is a measurable property of two colors. The success criterion sets a floor: a contrast ratio of at least 4.5:1 for normal-sized text and 3:1 for large text, where large means roughly 18 point or 14 point bold. Those numbers come from research into human luminance perception, not from aesthetic preference.

The criterion sits under the Perceivable principle because contrast is about whether content can be perceived at all before it can be understood or operated. It is a Level AA requirement, which means it is part of the baseline most accessibility laws and procurement policies reference. That legal weight is why teams treat it as a checkbox. But the ratio is a minimum for legibility under ideal conditions, not a target for comfortable reading. Passing AA means the text is likely readable for many people; it does not mean the text is pleasant, robust, or safe across the messy conditions real users encounter.

Understanding why the floor exists changes how you apply it. The goal is not to hit a number and stop. The goal is to preserve the information carried by text for people whose eyes, devices, or environments make low contrast costly.

2 Who it protects

The people most directly protected by 1.4.3 are those with low vision, including people with conditions such as macular degeneration, diabetic retinopathy, glaucoma, and cataracts. For them, low-contrast text does not simply look faint; it can dissolve into the background entirely. Color vision deficiency matters too, though contrast is about luminance rather than hue, so a red-on-green pairing can fail even for someone who distinguishes those colors if the lightness values are close. Aging reduces contrast sensitivity for nearly everyone, which means this criterion quietly serves a very large share of the population.

Assistive technology interacts with contrast in ways that are easy to overlook. Screen magnifiers zoom into a region of the page, which removes surrounding context and forces the user to read each word in isolation; weak contrast becomes much harder to compensate for when you cannot glance at nearby text for cues. Some users apply high-contrast or forced-colors modes at the operating system level, and authors who hard-code colors can accidentally override those preferences or produce combinations that clash with them. Screen readers do not care about color, but the people using them alongside magnification or low vision often do.

Environmental factors widen the group further. Bright sunlight on a phone, a dimmed laptop screen to save battery, a projector with washed-out output, and cheap monitors with poor color reproduction all reduce effective contrast. A design that passes on a calibrated studio display can fail in a car park at noon. The criterion protects a broad, shifting population, which is exactly why it is framed as a minimum rather than an optimum.

3 How conformance is measured

Conformance to 1.4.3 is measured with a contrast ratio, a value between 1:1 and 21:1 derived from the relative luminance of the foreground and background colors. The formula normalizes each color channel, applies a gamma correction, and combines the results into a luminance value; the ratio is then the lighter luminance plus 0.05 divided by the darker luminance plus 0.05. You do not need to compute this by hand. Contrast checkers, design tool plugins, and browser developer tools will sample the computed colors and report the ratio, flagging whether it meets 4.5:1 or 3:1 for the relevant text size.

The measurement is only as good as the colors you feed it. The ratio applies to the actual rendered text color and the actual rendered background directly behind the glyphs. If text sits on a solid fill, sampling is straightforward. If it sits on a gradient, a photograph, a video, or a translucent panel, there is no single background color, and the effective contrast varies across the text. Automated scanners often skip or misjudge these cases, so they must be checked manually, ideally by sampling the lightest and darkest regions behind the text and evaluating the worst case.

Text size determines which threshold applies, and size is measured in points or in CSS pixels converted to points, not in whatever the designer typed into a mockup. Bold text qualifies as large at a smaller size than regular text. Anti-aliasing, font weight, and letter spacing affect perceived legibility but not the formal ratio, which is another reason the number is a floor. A passing ratio on a thin, light-weight font can still read poorly.

4 Where teams usually slip

The most common failure is treating contrast as a one-time design review instead of a property of every state. A button label may pass in its default state and fail on hover, focus, active, or disabled. Placeholder text in inputs is a frequent offender because it is often styled with a light gray that looks elegant in a mockup and disappears on a real screen. Similarly, secondary text, captions, timestamps, and helper text are routinely set below the threshold because they are considered less important, even though they often carry instructions users need.

Another slip is text over imagery. Hero banners, cards with background photos, and video overlays rarely have a uniform background, so a single sampled ratio is misleading. Teams sometimes add a subtle gradient or a semi-transparent scrim that helps in one area and not another. Without a deliberate overlay with sufficient opacity, or a solid backing behind the text, the contrast varies with the image and can fail unpredictably as content changes. Dynamic content makes this worse: a user-uploaded avatar or a rotating carousel can break a layout that passed with placeholder assets.

A third pattern is relying on color alone to convey state, which overlaps with 1.4.1 Use of Color but shows up in contrast work constantly. Error text that is only red, links distinguished only by hue, and charts where series differ only by color all create problems that a contrast ratio will not catch. Finally, teams forget that users can override colors. Hard-coded colors that ignore forced-colors mode or that assume a light background can produce unreadable combinations when the operating system applies a high-contrast theme.

5 Fixing it in your markup

The durable fix is to define color as tokens with contrast built in, then apply those tokens consistently. Instead of choosing a gray because it looks right, choose a gray that meets 4.5:1 against its intended background and document which backgrounds it is approved for. When a token is used on an unexpected surface, the pairing should be reviewed rather than assumed. Design systems that pair foreground and background tokens together, and that ship tested combinations, prevent most regressions before they reach code.

In markup, avoid setting text color without also controlling the background it sits on, and avoid transparent backgrounds behind text unless you have verified the worst-case composite. For text over images, add a solid or sufficiently opaque overlay behind the text, or place the text on a panel, so the effective background is predictable. Respect user preferences by not forcing colors where the platform provides a forced-colors or high-contrast mode; use system color keywords and test that your interface remains legible when those modes are active. For states, style hover, focus, active, and disabled explicitly and check each one, and make focus indicators clearly visible against adjacent colors.

Where color carries meaning, add a second channel such as an icon, underline, pattern, or text label so the information survives for users who cannot perceive the hue difference. Keep in mind that increasing font size or weight can move text into the large-text category and lower the required ratio, but that is a design decision with tradeoffs, not a loophole. The most reliable approach is to aim above the minimum for body text and reserve borderline ratios for genuinely large, decorative, or non-essential text.

6 Testing before you ship

Start with automated checks in your build or design pipeline. Linters and accessibility scanners can flag many contrast failures in static styles and component libraries, and design tools can surface ratios as you choose colors. Treat these as a first pass, not a verdict. Automated tools are good at solid backgrounds and simple text, and weak at images, gradients, overlays, canvas-rendered text, and states that only appear on interaction. A clean scan is not proof of conformance.

Follow up with manual testing on the rendered page. Use browser developer tools to inspect the computed color and background of real text, including text inside components, and check each interactive state by triggering it. For text over media, sample the lightest and darkest areas behind the glyphs and evaluate the worst case, or temporarily replace the image with a solid color to see how much the text depends on the overlay. Zoom the page to 200 percent and check that contrast holds, since layout changes can move text onto different backgrounds. Test with a high-contrast or forced-colors mode enabled to confirm your colors do not fight the user's settings.

Finally, build contrast into review rather than bolting it on at the end. Include it in design critiques, component acceptance criteria, and pull request checklists. When content is dynamic, test with realistic worst-case data, not lorem ipsum. Document approved color pairings so future contributors do not have to rediscover them, and revisit them when brand colors change. Passing AA is the floor; a repeatable process is what keeps you above it.

7 Frequently asked questions

Is 4.5:1 enough for comfortable reading? It is the AA minimum for normal text, and it is a floor rather than a comfort target. Many accessibility practitioners recommend aiming higher, especially for long-form body text, small type, or thin fonts. A ratio that passes can still feel strained on a low-quality display or in bright light. Treat 4.5:1 as the point below which text is likely to fail for many users, not as the point at which reading becomes effortless.

Does the criterion apply to logos and decorative text? WCAG 1.4.3 exempts text that is part of a logo or brand name and text that is purely decorative, along with text in inactive user interface components. That exemption is narrow. Text that conveys information, labels a control, or appears in an active component is covered, even if it is small or styled to look decorative. When in doubt, assume it is covered and check it.

What about text over images or gradients? The ratio must hold for the actual pixels behind the text. If the background varies, the text must meet the threshold across the range, which usually means adding an overlay or a solid backing. Automated tools often cannot evaluate these cases, so manual sampling is required. A common approach is to darken or lighten the image behind the text until the worst-case region still passes.

Can I just use a contrast checker and be done? A checker tells you whether a specific pair of colors passes. It cannot tell you whether you chose the right pair for every state, whether dynamic content will break it, or whether users who override colors will still be able to read. Use checkers as one step in a process that includes manual review, state coverage, and testing with user preferences enabled.