Contents

To compare contrast for small and large text, start with the color of the text and the background directly behind it. Check their contrast ratio, then compare that result with the requirement for the text’s size, weight, and intended WCAG conformance level. Assess each distinct text and background combination separately.
The size of the lettering matters because large text is assessed separately from other text. Weight matters to that classification too. Before deciding whether a result passes, verify the current size and weight criteria and the numerical threshold for the level you need. Then look at the text in its actual context: a combination that meets a numerical requirement may still be difficult to read.
Choose the text and background to compare
Begin with one piece of text you want someone to read. Identify its foreground color and the background color immediately behind the letters. A contrast ratio describes the relationship between the colors using relative luminance, so the useful comparison is the one that represents the text as it actually appears.
For example, if a heading is shown on a pale panel and a caption appears on a darker panel, treat them as separate comparisons. Even if the lettering uses the same color, the background differs. Likewise, if the same label appears in two places with different text colors, check each combination.
Write down each pair in terms you can recognize later: the text being checked, its foreground color, and its background color. Use the actual color values when you can obtain them. If you do not know a value, ask whoever supplied the design or check the settings where the text and background are defined. Avoid substituting a color simply because it looks similar on your screen.
When the background varies
Text may appear over a background that changes across the area behind the letters. It may also be reused on several different backgrounds. Identify the relevant combinations and check them separately; a result for one background does not establish the result for another.
If the background cannot be described by one color, consider whether a more consistent background behind the text would make the comparison and reading experience clearer. Record the context alongside each result so that you can return to the exact combination when making changes.
Classify the text by size and weight
Before choosing a threshold, establish whether the text qualifies as large under the WCAG criteria for the level you are checking. Both size and weight are relevant, so a judgment based only on whether text looks big is not enough. Find the actual size and weight used for the text, and compare them with the current classification criteria.
Keep the unit with the measurement. The guidance equates 14 points to approximately 18.5 CSS pixels and 18 points to approximately 24 CSS pixels. These are approximate equivalents, not a reason to discard the original measurement. If a design specification gives a size in points, record the point value; if it gives a CSS pixel value, record that value and verify how the applicable criteria should be interpreted.
Questions to resolve before choosing a threshold
- What size is actually used where the text appears, and what unit is it expressed in?
- What weight is applied to that text?
- Do that size and weight meet the current criteria for large text?
- Is the classification the same for every version of the text you are checking?
A heading and a caption may use the same colors but have different sizes or weights. Check their classifications independently before interpreting their ratios. Similarly, if a label is presented in more than one size, keep the measurements with the corresponding instances.
If the size or weight is unclear, ask for the relevant specification or inspect the setting that controls it. If you cannot establish the classification, leave the pass decision open until you can verify both the text properties and the applicable criteria. The approximate point-to-pixel equivalents alone do not settle whether a particular piece of text qualifies as large.
Compare the ratio with the relevant WCAG level
Once you have the color pair and text classification, decide which WCAG conformance level you are assessing. Minimum and enhanced contrast requirements are different checks, and each must be interpreted using the applicable treatment of large text. Confirm the current numerical requirement for the level and classification before calling a result a pass or a failure.
A Contrast Checker is described as a tool for assessing readability ratios. Use a checker whose operation you understand to obtain a ratio for the actual foreground and background colors. Before relying on its result, verify how it accepts the colors, what it reports, and whether its assessment corresponds to the level and text classification you need. A ratio by itself is only part of the decision.
Use the unrounded ratio when comparing it with the applicable threshold. If a display shows a rounded figure, check whether a more precise result is available before making a decision close to the boundary. Do not assume that a rounded display establishes a pass.
Keep the decision traceable
For each item, make a short record of the text and background colors, size and weight, classification, ratio, WCAG level, and threshold you used. Include where the text appears if the same wording is used in several places. This makes it easier to see why one instance needs a different assessment from another.
If you cannot confirm the minimum or enhanced requirement for your case, record the ratio and the unresolved question without labeling the combination compliant. Obtain the applicable requirement, then finish the comparison.
Decide what to adjust and check again
If the ratio falls below the applicable threshold, consider changing the text color, the background color, or both. Choose a revised combination, check its ratio, and compare the unrounded result with the same applicable requirement. Keep the original and revised combinations identified so you know which result belongs to which version.
You can also consider whether a different text size or weight would better suit the content. If you change either, verify the resulting classification before selecting a threshold. Do not assume that making text somewhat larger or bolder automatically moves it into the large-text category; the actual size and weight must satisfy the relevant criteria.
Work through one change at a time
- Note the current text color, background color, size, weight, and result.
- Decide which property you can reasonably change while keeping the text useful in its setting.
- Check the revised color combination and confirm the applicable text classification.
- Compare the unrounded ratio with the verified threshold for your chosen level.
- Review the revised text where it appears, and repeat for any other background or version.
For example, suppose a short label appears on two panels and only one color pair meets the requirement you are checking. You might revise the label color, one panel color, or both. Afterward, check the label against each panel again: a change made for one pairing also needs to work in the other.
A result close to a threshold deserves particular care. Confirm the underlying ratio and consider whether a stronger combination would make the lettering easier to read. Keep checking until you have a result you can evaluate against the correct requirement and a presentation that works in context.
Review readability in context
A numerical comparison is a useful checkpoint, but it is not the whole reading experience. Look at the actual words in their intended setting after you have checked the ratio and classification. Consider whether the lettering is easy to distinguish from its background and whether the text remains comfortable to follow across a heading, label, or longer passage.
Pay particular attention to thin or unusual typefaces. Anti-aliasing can make them appear fainter than their defined text color, so a combination that meets a numerical threshold may still look weak. If that happens, consider a thicker typeface, a stronger color combination, or another adjustment that improves the appearance. Recheck the ratio and classification after making changes that affect the assessment.
Review the whole set
Read each kind of text in the context where it appears. A prominent heading may be easy to notice while a smaller supporting label needs more attention. If text is repeated across several backgrounds, review every version rather than relying on the clearest one.
Ask a few practical questions: Can you identify the words without straining? Does any text look noticeably faint? Does a change that helps one label make another combination harder to read? Are the size and weight you assessed still the ones being used?
Finish by keeping the final colors and the verified level and threshold with your notes. That record gives you a starting point if the text, typeface, or background changes later. Revisit the affected combinations whenever a change could alter the comparison or the text’s classification.