HIYSL REFERENCE / FIELD NOTES

How to Interpret WCAG AA and AAA Contrast Results

Contents
AI-generated illustration; not taken on location · Illustration of text on contrasting backgrounds connected to a criterion selection path
AI-generated illustration; not taken on location · A contrast result is interpreted in the context of the content and criterion.AI-generated illustration

A contrast result tells you about a particular pair of colors. To interpret it, first identify what those colors represent, then choose the WCAG criterion that applies to the content. Text size and weight matter for text results; meaningful interface cues and graphics need a separate non-text assessment.

A single pass or fail label is a starting point, not a verdict on an entire page. Check the relevant threshold for your intended conformance level, pay attention to results close to the boundary, and retest the places affected by any color change. This guide walks through those decisions without assuming that every contrast checker presents them in the same way.

Start with the colors and the reported ratio

For text, identify the text color and the background color immediately behind it. Check those two colors together: contrast ratios use relative luminance, and the result describes the relationship between the colors you selected. Before interpreting the number, make sure the pair represents the content a reader actually needs to see.

For an icon, border, or part of a chart, the useful comparison may instead be between that element and a color next to it. An element surrounded by different colors can give you more than one comparison to investigate. Start with the edge or feature that carries the information, then identify the adjacent color against which that information must be distinguished.

Keep a record of the comparison

Write down the element, the two colors, the reported ratio, and the context in which you found them. For example, a note might say “button label against button background,” rather than simply listing two color values. A separate note for the button’s visible boundary helps prevent a text result from being mistaken for a boundary result.

If the background changes across the content, identify the combinations that need checking instead of treating one sample as representative of every placement. Similarly, if the same text color appears on two backgrounds, assess each pairing. A ratio belongs to a pair of colors, so changing either member creates a different comparison.

Once you have the pair, look up the applicable criterion and threshold before deciding what the result means. Section508.gov’s color accessibility guidance is an official starting point for that research.

Choose the applicable text result

A text contrast result needs context: the conformance level you are assessing and whether the text belongs in the ordinary or large-scale category. Do not select a large-text result simply because a heading looks prominent. Check its actual size and weight against the applicable WCAG definition, including how the definition treats bold text.

When measurements use different units, take care with conversions. WCAG guidance gives approximate CSS pixel equivalents of 18.5 pixels for 14 points and 24 pixels for 18 points. Those equivalences help you compare measurements, but they do not by themselves tell you whether a particular piece of text qualifies as large. Verify the relevant size-and-weight requirements before making that decision.

Compare the result with the right criterion

If a checker offers separate results for text categories or conformance levels, read the label alongside the ratio. A result that passes one category does not automatically establish a pass for another. For instance, if your text qualifies for a large-scale category, compare its pair with that category’s applicable threshold; if it does not, use the ordinary-text criterion instead. When assessing AAA, verify the enhanced text threshold for the category before recording the outcome.

Keep the ratio and the reason for the selected category together in your notes. That makes the result easier to revisit if the text is later made smaller or its weight changes. If you cannot establish the actual size or weight, leave the classification open and obtain those details before relying on a category-specific pass.

The same color pair may appear in a heading and a smaller label. Assess each use in its own context rather than carrying the heading’s result over to the label.

Read results near a threshold

A displayed ratio close to a threshold deserves a closer look. A rounded display can conceal a difference between the shown value and the more precise value used for a comparison. For example, a number displayed at a boundary might represent a value slightly above or below it, depending on how the display is rounded.

Check how your chosen tool calculates and displays its result, and verify the applicable WCAG rule for comparing a result with the threshold. If you cannot see enough precision or establish how the decision was made, do not assume that the displayed number alone settles a boundary case. Record the uncertainty and use a result with a clearer margin if you can.

Consider what readers see

A numerical pass is also only part of the reading experience. Anti-aliasing can make thin or unusual fonts appear fainter than their defined color, even when the nominal ratio passes. If the text looks difficult to read, consider choosing a color pair with more contrast or revisiting the type treatment, then check the revised combination.

This is especially useful when the result is barely over the applicable threshold: a more comfortable margin gives you room to address the appearance of the text as well as the reported number. View the actual content in context where possible, rather than judging only a color swatch. A short label, a long paragraph, and text placed over a varying background each deserve attention in the form readers will encounter them.

Check meaningful non-text elements

Text and non-text content call for separate decisions. For a button, the label’s contrast against its background is a text comparison. Whether a border or other visual feature used to identify the control needs to contrast with an adjacent color is a non-text question. A passing label result does not answer the second question.

Start by asking what visual information is necessary. Does a border help someone identify the control? Does a line, symbol, or region in a chart communicate something the reader needs to distinguish? Identify the feature and the colors beside it, then check the applicable non-text criterion and any relevant exceptions before deciding whether a particular comparison is required.

Work through a chart or control

For a chart, list the parts that carry meaning and the surfaces or neighboring parts against which each must be distinguished. If a chart uses several colors, do not assume that checking one color against the background covers every meaningful relationship. Where labels or other cues communicate the same distinction, consider them as part of the assessment and verify how the relevant criterion applies.

For a control with a visible boundary, separately note the label-to-background pair and the boundary-to-adjacent-color pair. If the boundary meets different surrounding colors, identify each relevant comparison. Then look up the applicable non-text threshold rather than applying a text threshold by habit.

A checker can help report a ratio for the colors you supply, but interpreting whether that pair is the necessary comparison requires you to consider the element’s purpose and context. If that purpose is unclear, resolve it before recording the check as complete.

Decide what to change and what else to check

When a pair falls short of the applicable threshold, choose a color to adjust and measure the revised pair again. You might change the text color, the background, or both. For a non-text feature, identify the feature and adjacent color involved before deciding which change preserves the information people need.

A practical retest sequence is:

  1. Record the original element, color pair, ratio, and criterion you applied.
  2. Adjust a color and check the new pair against the same criterion.
  3. Review the content in context, including its size, weight, and visual clarity where relevant.
  4. Find other uses of the changed color and check their pairings separately.
  5. Document the new result and any remaining questions or exceptions that need verification.

For example, changing a shared text color may improve one label while creating a new pairing elsewhere. Check that color wherever it appears against another background. If you change a background instead, revisit text, icons, boundaries, and meaningful graphic features that appear against it. Also reassess any use whose size, weight, or visual role differs from the original.

What does a pass leave open?

A contrast result describes a measured color relationship under a particular criterion. It does not, by itself, establish that every part of the content is accessible. Review whether information conveyed with color also has another understandable cue, and verify any exceptions that might apply before relying on them. Consider the actual words, symbols, and layout that help a reader understand what a color distinction means.

If a result is uncertain because you cannot identify the colors, category, threshold, or relevant adjacent surface, make that the next item to resolve. A clear record of the question is more useful than applying an unverified pass label to the whole design.

Sources