Table of contents

Reaching WCAG AA contrast compliance can feel like a conflict between accessibility rules and brand identity. Bright brand colors often fail contrast thresholds against light or dark backgrounds, and simply replacing them with generic dark gray can weaken recognition. A structured decision framework helps you resolve that tension by separating baseline requirements from harmonization choices.
This guide explains the exact contrast ratios that normal and large text must meet under WCAG AA. It then describes how to use standard color tools such as pickers, palette generators, and contrast checkers to select, generate, and verify color variations while preserving core brand hues. Rather than prescribing a single replacement color, it offers a repeatable process for testing text color pairs, documenting outcomes, and making informed adjustments.
Readers will learn how to evaluate whether a proposed brand shade passes, how to generate lighter or darker variations systematically, and how to verify the final pair before deployment. The framework assumes access to standard color-picker, palette-generator, and contrast-checker tools, but does not depend on any one interface. Every color decision should be confirmed against the current WCAG specification through an official reference before publication.
Understanding WCAG AA Contrast Thresholds
WCAG AA sets minimum contrast ratios between foreground text and its background. Normal text must meet a contrast ratio of at least 4.5:1, while large text must meet at least 3:1. Large text generally refers to text at least 18 points or 14 points when bold, although the precise definition should be confirmed in the current WCAG specification because size thresholds depend on font metrics and rendering context.
These ratios concern visual contrast between text and the adjacent background, not decorative brand elements alone. When a brand color appears in body copy, headings, buttons, or navigation labels, each text color pair must be evaluated independently. A brand palette that passes for a logo may fail when the same color is used for small body text.
Contrast checkers accept foreground and background color inputs, commonly in HEX, RGB, or HSL formats, and output a numeric ratio. The reader compares that ratio against the applicable threshold: 4.5:1 for normal text or 3:1 for large text. If the ratio is below the threshold, the pair fails WCAG AA and requires adjustment.
Testing should cover several conditions. Text over solid backgrounds is the simplest case, but text over gradients, images, or translucent overlays can produce local contrast variations that a single checker result may not capture. Teams should sample the darkest and lightest areas behind the text and verify each combination. Placeholder text, disabled states, and hover states should also be tested because they often use lighter shades that can fall below the threshold even when the default state passes.
A practical workflow begins with identifying every text color pair in the design system. Record the foreground color, background color, text size, weight, and usage context. Run each pair through a contrast checker, mark pass or fail, and prioritize failures by visibility and frequency. Normal text failures usually affect the largest number of users and should be addressed first.
When a pair fails, adjustment options include darkening the foreground text on a light background, lightening the foreground text on a dark background, changing the background color, or increasing the text size to qualify for the large-text threshold. Each option carries different implications for brand identity, which the next section addresses through harmonization.
Readers should verify current thresholds and definitions in the official WCAG specification before relying on them for compliance decisions, because guidance can evolve and implementation details vary by user agent. If a specification defines large text differently in a particular context, confirm the exact size and weight criteria before applying the 3:1 threshold.
| Text category | Minimum WCAG AA contrast ratio | Typical size reference |
|---|---|---|
| Normal text | 4.5:1 | Below the large-text size threshold |
| Large text | 3:1 | At least 18 points, or 14 points when bold |
Before finalizing any color decision, check whether the target environment uses a different WCAG version or success criterion, and confirm the font rendering behavior in the intended browsers and operating systems.
Using Color Labs for Brand Harmonization
Brand harmonization means adjusting color variations so they meet contrast requirements while staying recognizably on brand. A color picker supports HEX, RGB, and HSL color formats in sync, which makes it useful for inspecting an existing brand color and proposing precise variations. HSL is especially helpful for contrast work because you can keep hue and saturation relatively stable while adjusting lightness to raise or lower contrast.
The process begins with the core brand hue. Enter the brand color into the color picker and note its HEX, RGB, and HSL values. Then generate candidate shades by adjusting lightness in small increments while monitoring the contrast ratio against the background. The goal is the smallest change that brings the pair above the applicable threshold, preserving as much of the original brand appearance as possible.
A palette generator can produce systematic tints and shades from a base brand color. Tints are created by mixing the brand color with white, while shades are created by mixing it with black. These generated variations retain the underlying hue family, which helps maintain visual consistency across the palette. When selecting a candidate for accessible text, prefer the variation with the least perceptual distance from the original brand color that still passes the contrast checker.
Comparing candidates side by side is important. A slightly darker shade of a brand blue may pass 4.5:1 against white while remaining close enough to the original for headers, buttons, or links. A dramatically desaturated gray might pass more easily but could dilute brand recognition. Document both the contrast ratio and the visual difference so stakeholders can make an informed trade-off decision.
Large text can use the 3:1 threshold, which sometimes allows a brand color that fails as normal text to remain usable for headings or prominent labels. This does not mean the brand color is universally accessible; it means the size-based exception applies only where the text genuinely meets the large-text definition. Designers should not rely on this exception to avoid fixing body text or small interface labels.
Contrast checkers output the ratio and often a pass/fail indicator for WCAG AA levels. Use the output as a verification step, not as the sole design criterion. After selecting a candidate, test it in context: over the actual background, at the actual font size and weight, and in relevant states such as hover, focus, disabled, and visited. If the brand uses transparency or gradients, sample the actual rendered colors where text appears.
Practical decision steps
- Enter your core brand color into the color picker and record HEX, RGB, and HSL values.
- Identify the background color and check the current contrast ratio.
- Generate tints by mixing with white or shades by mixing with black using the palette generator.
- Adjust lightness in small increments while monitoring the ratio against the applicable threshold.
- Compare candidates side by side and choose the one with the smallest perceptual shift that passes.
- Verify the chosen color over the actual background, at the actual font size and weight.
- Test interactive states such as hover, focus, disabled, and visited.
- Record the original color, adjusted color, ratio, threshold, size, weight, and approval context.
Comparison: minimal brand shift versus maximum accessibility
Minimal brand shift prioritizes keeping hue, saturation, and lightness close to the original brand color, which protects visual identity but may require careful lightness tuning. Maximum accessibility may select darker or lighter variations that pass easily but can look less like the original brand. The decision framework recommends starting with minimal shift and moving toward stronger adjustments only when necessary.
Records and future audits
A brand harmonization record should include the original brand color, the adjusted color, the contrast ratio, the threshold applied, the text size and weight, and the approval context. This documentation supports future audits and prevents regression when designers reuse colors.
Readers are encouraged to verify tool capabilities, output formats, and WCAG requirements directly through official references, because tool behavior and specification details can change over time.

