Skip to content

Repeatable Accessibility Review for Website Color Palettes: A Visual Hierarchy

AI-generated illustration; not taken on location · Generic diagram of contrast ratios and WCAG accessibility levels

Contents
AI-generated illustration; not taken on location · Generic diagram of contrast ratios and WCAG accessibility levels
AI-generated illustration; not taken on location · Conceptual illustration of contrast thresholds for text and background pairs.AI-generated illustration

An accessible website starts with color choices that remain readable for the widest possible audience. Contrast between text and its background is one of the most direct barriers to clear reading, yet choosing colors by eye alone cannot verify whether a pairing meets accessibility standards. PaletteBench provides three browser-based tools—a color picker, a palette generator, and a contrast checker—that together support a repeatable review process grounded in WCAG 2.1 and WCAG 2.2 contrast thresholds.

This article explains each tool’s inputs, outputs, and decision points. You will learn how to enter or select shades, compose a four-color palette, verify text and background contrast at AA and AAA levels, and turn verified color pairs into design decisions you can repeat across projects. The guidance below is based on PaletteBench tool behavior and WCAG specification excerpts, not on how the site itself was built.

Start with the color picker

The color picker is the first stage of a palette review. You can enter a shade or choose a color visually, and the tool displays a live preview of the selected color. The picker keeps HEX, RGB, and HSL values in sync, so changing one format updates the others immediately. HEX input accepts shorthand such as #RGB or the full #RRGGBB notation. RGB uses values from 0 to 255 for each channel. HSL uses hue from 0 to 360 degrees, with saturation and lightness each expressed from 0 to 100 percent.

After you select a shade, you can copy the value in your chosen format. This output is the value you carry into the palette generator and later into the contrast checker. If you are assembling a palette manually, record each color in the format your design files use so the numbers stay consistent across tools.

Because the picker does not judge accessibility by itself, treat its output as raw material. A copied HEX value is only ready for review once you pair it with a background color and test the contrast ratio in the next tool.

Questions this section answers: Which formats can you enter in the color picker, and do HEX, RGB, and HSL stay in sync?

Compose a four-color palette

The palette generator builds a four-color scheme starting from one color you choose. You begin with a starting color, then select a harmony type from four options: complementary, analogous, triadic, and tetradic. The generator produces four colors in one direction from that starting color, giving you a complete candidate set without manually calculating each swatch.

You can lock any swatch to preserve it through scheme changes and randomization. Locking is useful when one brand color must stay fixed while you explore alternatives for the other three colors. You can unlock a swatch later to let it change again during further exploration.

Once the palette looks suitable, export it for project use. Exporting captures the four colors so you can apply them in design files or hand them off to developers. Before exporting, identify which swatch will serve as text and which will serve as background, because those pairings determine what you test in the contrast checker.

If you are working through multiple candidate schemes, repeat the process with each starting color and harmony type. Compare the exported palettes side by side, then move the most promising text-and-background pairs into the contrast checker for verification.

Choosing a harmony type

  • Complementary pairs the starting color with colors on the opposite side of the color relationship.
  • Analogous keeps colors close to one another, useful for subtle transitions.
  • Triadic spreads colors across three separated positions.
  • Tetradic builds around four positions for a broader set.

Because the generator creates colors in one direction from your starting color, changing the starting color resets the entire four-color set unless you lock one or more swatches first.

Locking and unlocking swatches

Locking protects a selected swatch while the generator adjusts the remaining unlocked colors. Use this when a brand or primary color cannot change. Unlocking returns that swatch to the generator’s control so it can respond to new harmony or randomization choices.

Exporting for project use

Export only after you are ready to use the palette outside the tool. Note each color’s HEX value so you can enter exact text and background HEX values in the contrast checker. Exporting does not verify accessibility by itself; treat contrast verification as the next required step before finalizing text and background assignments.

Questions this section answers

  • What harmony options does the palette generator offer? Complementary, analogous, triadic, and tetradic.
  • How many colors does it produce? Four colors from one starting color.
  • What does locking a swatch do? It preserves that swatch through scheme changes and randomization; unlocking allows it to change again.

Verify text and background contrast

The contrast checker accepts a text color in HEX and a background color in HEX, then displays the contrast ratio result. You enter both values manually, so have the HEX outputs from your picker or palette generator ready before opening this tool.

The checker reports WCAG thresholds for both normal text and large text. For normal text, AA requires a contrast ratio of 4.5:1, and AAA requires 7:1. For large text, AA requires 3:1, and AAA requires 4.5:1. The checker defines large text as 18 pt or 14 pt bold.

After entering a pairing, the tool presents pass or fail results for that selected text/background combination. It does not simply return a number; it shows whether the pairing meets the relevant threshold at the level you are checking.

The checker also shows a contextual sample after a contrast test, letting you see how the pairing appears in a realistic text setting rather than as an abstract ratio. Use this sample to confirm that a passing ratio still looks appropriate in your actual layout.

An example from PaletteBench: white text on #4338CA measures 7.90:1 and passes normal-text AA and AAA. This illustrates how a verified pair can satisfy both levels at once, though every pairing in your palette still needs its own test.

Questions this section answers: Which contrast thresholds does the checker display for normal text at AA and AAA? Which thresholds apply to large text at AA and AAA, and what size qualifies as large text? How does the checker present pass or fail results? What contextual sample does the tool show after a contrast test?

Turn verified pairs into repeatable design decisions

A repeatable review connects the color picker, palette generator, and contrast checker into one workflow you can apply to every new palette. Start by picking each color in the picker and copying its HEX value. Compose a four-color palette using your chosen harmony type, locking any swatches that must remain fixed. Export the palette once the candidate set is ready.

Next, test every text/background pairing you intend to use. Enter the text color and background color in HEX into the contrast checker, review the pass/fail result against the normal-text or large-text thresholds, and inspect the contextual sample. Record which pairs pass at AA, which pass at AAA, and which fail so your design decisions are documented rather than assumed.

WCAG 2.1 and WCAG 2.2 success criteria are written as testable statements that are not technology-specific, which means the same thresholds apply whether you are designing for web, mobile, or another digital product. This consistency lets you reuse the same review steps across projects and platforms.

Beyond color contrast, PaletteBench suggests checking additional UI elements. Contrast is only one part of accessibility; focus states, touch targets, text scaling, and other interface details also affect whether a page is usable. Treat the contrast review as one gate in a broader accessibility check, not the final sign-off.

Repeatable workflow checklist:

  1. Pick colors and copy HEX values.
  2. Generate a four-color palette with your chosen harmony.
  3. Lock required swatches and export the palette.
  4. Test each text/background pair in the contrast checker.
  5. Record AA and AAA pass/fail results and review contextual samples.
  6. Apply passing pairs in designs and re-test if colors change.