A repeatable WCAG contrast review starts by comparing one foreground/background pair with 4.5:1 for normal text, 3:1 for large text, and 3:1 for non-text UI elements.
When using a WCAG color contrast checker, make the process repeatable by treating every foreground/background pair as a small pass-or-fail decision instead of judging brightness by eye. The Color Contrast Checker accepts two colors and returns the exact contrast ratio with applicable AA and AAA pass/fail badges. You can use those results to decide whether to keep the design or adjust it, without calculating relative luminance by hand.

Turn the standard into a decision table
WCAG contrast is based on relative luminance rather than how different two colors appear in general. The checker converts each sRGB channel to linear light, combines the channels into a relative luminance value, and compares the lighter and darker colors. Its calculation uses the WCAG 2.x formula: ratio = (L1 + 0.05) / (L2 + 0.05), where L1 is the lighter color's luminance and L2 is the darker color's luminance. The possible range runs from 1:1 for identical colors to 21:1 for pure black on pure white.
Because the formula always divides the lighter luminance by the darker luminance, swapping the foreground and background produces the same ratio. Keep the input roles labeled anyway so that you know which color is the text and which is its background.
| Content or component | WCAG AA minimum | WCAG AAA minimum |
|---|---|---|
| Normal text | 4.5:1 | 7:1 |
| Large text | 3:1 | 4.5:1 |
| UI components, icons, and graphical objects | 3:1 | No separate AAA threshold |
Use the large-text threshold only when the text qualifies by size and weight. WCAG defines large text as at least 18pt, approximately 24px, for regular-weight text, or at least 14pt, approximately 18.66px, for bold text. A heading that looks visually large but does not meet those conditions should still be evaluated as normal text.
The W3C WCAG 2.1 contrast minimum guidance is the official reference for the AA minimum. Keeping the table nearby turns the standard into a practical decision list rather than a page of technical rules.
Check one pair in the Color Contrast Checker
The tool works with one solid foreground color and one solid background color at a time. That structure keeps the task simple: identify the two colors, enter them, read the result, and make a controlled change if the applicable requirement does not pass.
- Identify the actual foreground and background. Decide which color represents the text and which represents the surface behind it. Use the colors that appear in the state you are evaluating rather than a nearby design-token value that is not actually applied.
- Set the foreground text color. Use the color picker or type a hex value such as #111111. The hex value should represent the text color itself.
- Set the background color. Enter it with the picker or another hex value, such as #ffffff. Both inputs are required to calculate the contrast ratio.
- Read the exact ratio and the pass/fail badges. Look for the contrast ratio first, then review the applicable normal-text, large-text, and UI-related results. Do not rely on a color merely looking different from its background.
- Choose the threshold that matches the content. Apply 4.5:1 to normal text, 3:1 to qualifying large text, and 3:1 to non-text UI elements. If the goal is AAA, also compare normal text with 7:1 and large text with 4.5:1.
- Adjust either color and check it again. Replace the foreground or background with a more suitable color, then review the new ratio and badges. Repeat until the result meets the level required for that use.
Everything runs locally in your browser, so you can check brand colors and design tokens without uploading them. That makes the same workflow practical for confidential palettes, internal design systems, and one-off interface decisions.
Reduce repeated checks to a repeatable routine
A long list of screens becomes manageable when colors are grouped by the job they perform. Instead of testing every combination in a random order, organize the work into a few repeatable batches:
- Body-text pairs: Test each text and page-surface combination against the normal-text threshold.
- Large-text pairs: Check headings or display text against their actual backgrounds, but only use the lower large-text threshold when the size and weight qualify.
- Interface pairs: Test labels against controls and controls, icons, or graphical objects against adjacent colors.
- State and variant pairs: Recheck hover, active, placeholder, disabled, or other combinations only when the rendered colors differ from the base state.
For larger token collections, the design-system color contrast workflow can help separate reusable color roles from one-off exceptions. Keep a simple manual record of each final hex pair, its ratio, and the requirement it passed. Reusing a recorded pair avoids duplicate work, while any change to one color still requires a fresh check for the affected combinations.
Apply the badge that matches the real use
The same color pair can receive different outcomes because the requirements depend on how the colors are used. A ratio that passes for qualifying large text does not automatically make small body copy acceptable, and a 3:1 result for a control border does not establish that its text label meets the normal-text threshold.
- Normal text: Use 4.5:1 for AA or 7:1 for AAA.
- Large text: Use 3:1 for AA or 4.5:1 for AAA when the text meets the WCAG size and weight definition.
- Non-text contrast: Use 3:1 for UI components, icons, and graphical objects, including relevant borders and focus indicators.
AA is a minimum target, not a maximum. A pair can pass AA while failing the stricter AAA text threshold, which means it meets AA but does not meet AAA. Decide which level your project or audience requires, focus on the relevant badge, and avoid changing colors without a reason tied to that target.
Adjust one side, then verify the pair again
A controlled adjustment is easier to evaluate than changing both colors at once. If the foreground text color is fixed by a brand system, change the background when possible. If the background must remain fixed, revise the text color. After each change, enter the updated hex value and read the new ratio and badges.
- Keep the fixed role fixed: Change only the foreground or only the background so you can see which decision affected the result.
- Use the picker while exploring: A visual adjustment can help you find a workable direction before recording the final hex value.
- Check every relevant category: Do not assume a normal-text pass also resolves a UI-component or large-text outcome.
- Retest connected pairs: If a shared background or text token changes, revisit every combination that uses it.
The mathematical ratio does not care which color is labeled as text, but your design constraints still do. One side may be part of a fixed brand palette while the other is available for adjustment. Treating those constraints as part of the check prevents a technically passing replacement from creating unnecessary brand or component changes.
Test the effective background at its extremes
A two-color calculation cannot represent a background that changes across one text element. The checker is intended for a foreground color paired with a background color, so gradients, semi-transparent overlays, and text placed over images need extra care.
- Gradients: Check the lightest and darkest effective background points where the text appears.
- Transparent overlays: Identify the effective solid colors behind the text at the lightest and darkest points, then test both combinations.
- Text on images: Sample the lightest and darkest parts of the image that remain behind the letters and check both combinations.
- Thin or decorative text: Review these separately even when a similar design has passed, because thin strokes can remain difficult to read.
The ratio measures luminance contrast, not hue. Two colors can look distinctly different to one person yet remain too close in brightness to pass. For that reason, color should not be the only way to communicate a state or instruction; pair it with a label, icon, underline, or other visible cue.
Placeholder text and disabled states also deserve direct review because their colors often differ from the primary text. A passing main-text pair does not establish that every secondary state is readable. Conversely, the contrast result does not evaluate labels, alternative text, keyboard operation, or whether the overall interface is usable. It answers one focused question: how much luminance contrast exists between two specified colors?
Finish with a compact verification checklist
After the colors pass, complete a short manual review so that later design changes do not invalidate the result:
- Confirm the final foreground and background hex values.
- Record the exact ratio and the AA or AAA result relevant to each use.
- Check body text, qualifying large text, and non-text UI elements separately.
- Retest gradients, overlays, images, and variable states at their effective extremes.
- Review the rendered page to confirm that the tested colors are the colors users actually see.
For a repeatable audit trail, follow the step-by-step process for documenting WCAG contrast checks. Good documentation makes the tested pair and intended threshold clear without implying that a color-pair result certifies the entire page. The streamlined method is therefore simple: use fixed thresholds, enter two exact colors, read the output, make one deliberate adjustment, and verify the final pair again.