Contents

Accessibility compliance does not have to mean abandoning your visual system. Passing WCAG AA contrast requires treating color ratios as measurable limits rather than aesthetic preferences. Text must contrast sufficiently with its background so readers with low vision can distinguish content, while brand colors remain recognizable through disciplined testing and controlled adjustment.
The process starts with verifying existing pairings, then uses palette tools to create accessible supporting shades without diluting core brand swatches. This guide walks through both steps, including which thresholds apply to normal and large text, why rounding ratios is risky, and how to make deliberate color decisions that protect both compliance and brand identity.
Evaluating Brand Colors with a Contrast Checker
The first step in production readiness is verifying every text-and-background pairing your design actually uses. A contrast checker accepts a foreground color and a background color, then returns a numeric contrast ratio. You compare that result against the WCAG threshold that applies to the text size.
WCAG AA requires a contrast ratio of at least 4.5:1 for normal text. Large text has a lower requirement of 3:1. In WCAG terms, large text generally means text at least 18 points in size, or 14 points if it is bold. These size thresholds matter because larger character shapes are easier to perceive even with somewhat weaker contrast.
To evaluate brand colors, collect the exact hex or RGB values used for body copy, headings, buttons, links, captions, and any text over images or gradients. Test each pairing in the contrast checker rather than assuming a combination passes because it looks clear on your monitor. Screen calibration, viewing distance, and individual vision differences can all make a pairing seem acceptable when it falls below the required ratio.
Record pass and fail results separately. A pairing that passes at 4.5:1 automatically satisfies the 3:1 large-text threshold, but the reverse is not true. If a brand color passes only for large text, restrict that pairing to headings or display copy and do not use it for body paragraphs.
Treat the checker output as a strict threshold. A ratio of 4.4:1 does not meet AA for normal text, even though it is numerically close to 4.5:1. Rounding up or estimating “approximately 4.5” creates compliance risk and can exclude readers who rely on clear contrast. If a result is borderline, adjust the color rather than accepting the pairing.
Brand colors often appear in multiple contexts. White text on a primary brand background might pass, while the same white text on a lighter tint of that brand color fails. Test each actual combination, not just the brand swatch in isolation.
When text sits over images, patterns, or gradients, the background color is not uniform. In those cases, test the darkest and lightest areas behind the text, or place the text on a solid accessible backing shape. Do not rely on a single sampled point unless you are certain the entire text area shares that background.
Practical Decision Steps
Start by inventorying every text layer in your UI, including small caption text, link states, button labels, and overlay text on hero images. Capture the foreground and background color values for each layer, then enter both into the contrast checker. Record whether each result meets 4.5:1 for normal text or 3:1 for qualifying large text.
Create two working lists: one for pairings that pass at 4.5:1 and therefore work for all text sizes, and one for pairings that pass only at 3:1 and therefore should be limited to large text. Review any borderline results carefully; a ratio just below the required threshold is a fail, not a near-pass.
If a pairing fails, do not guess at a fix. Return to your brand palette, adjust lightness or saturation until the checker confirms a compliant ratio, then retest the updated pairing before applying it across components.
Reader Check
- Did you test every actual text-and-background combination, or only the main brand swatches?
- Are borderline ratios below 4.5:1 being treated as failures rather than approximations?
- Have you separated large-text-only pairings from body-text-safe pairings?
Adjusting Palettes Without Losing Identity
When a brand color pairing fails an accessibility check, the goal is to reach compliance while keeping the brand visually intact. A palette generator lets you create supporting tints, shades, and tones from core swatches, while a color picker helps you sample and refine exact values.
Start by locking the core brand swatches that carry recognition—such as the primary logo color, signature accent, or brand background. Locking prevents the generator from drifting those central values too far. Then generate or select accessible supporting shades for text, borders, and backgrounds that must meet contrast requirements.
Adjustments usually work through hue, saturation, and lightness. To make light text pass against a brand background, you can darken the text, lighten the background, or both. To make dark text pass on a light brand background, you can deepen the text or lift the background. Small lightness changes often have the largest effect on contrast ratio, while hue and saturation adjustments help preserve the perceived brand color.
Document each decision. If a supporting shade is shifted from the original brand color, note the new hex value, the contexts where it applies, and the contrast ratio it achieves. This creates a production-ready palette that developers and designers can use without guessing.
A useful comparison is the before-and-after state of a palette. The following table shows a conceptual example only; actual values must be produced in your own tools.
| Context | Original pairing | Contrast ratio | AA result | Adjusted pairing | New ratio | AA result |
|---|---|---|---|---|---|---|
| Body text on white | Dark gray text on white | Variable | Check required | Adjusted dark text on white | 4.5:1 or higher | Pass |
| Large heading on brand color | White text on brand primary | Variable | Check required | White text on brand primary | 3:1 or higher | Pass |
| Small button text on tint | Light text on light brand tint | Variable | Check required | Darker text or darker tint | 4.5:1 or higher | Pass |
Core brand identity lives in consistent application, not in a single untouchable hex value. A logo can keep its exact color while body text uses an adjusted supporting shade that meets AA. The brand remains recognizable because the core swatch appears in key locations, while accessible variants handle functional text.
Before finalizing, test the adjusted palette across the actual components where it will appear: cards, forms, navigation, alerts, and dark-mode or light-mode variants if applicable. A shade that passes on white may fail on a tinted surface, so verify every combination in context rather than assuming one ratio covers all uses.
If you are unsure whether a specific text size qualifies as large text under WCAG, verify the current size definitions through official WCAG documentation rather than relying on approximations. Similarly, if a tool reports a ratio near the threshold, retest with exact values instead of assuming a pass.
18 point text or 14 point bold text is judged to be large enough to require a lower contrast ratio.

