Contents

PaletteBench is a browser-based color laboratory that brings three tools together: a color picker, a palette generator, and a contrast checker. For anyone choosing text colors, icon colors, or control colors, the contrast checker is the central quality gate, while the picker and generator supply the candidate colors. This article explains what needs contrast testing based on the site’s own tool descriptions and the WCAG 2.1/2.2 thresholds it quotes. It does not describe how to build PaletteBench, nor does it report on any personal hands-on testing. Everything here is framed as what the sources indicate, with gaps noted where the documentation does not provide an answer.
Tool overview and enabled identifiers
PaletteBench exposes three enabled tool identifiers relevant to a contrast-testing workflow:
color-picker: lets users choose a shade visually or enter a value. It shows HEX, RGB, and HSL values that stay in sync, with a live color preview and copy capability. This makes it a useful source for the exact color values that need to be checked for contrast.
palette-generator: builds harmonies from a starting color or a randomized point. It supports complementary, analogous, triadic, and tetradic schemes, lets users lock swatches through changes, and produces four-color palettes ready to copy or export. Locked swatches can help keep brand or semantic colors stable while testing variations.
contrast-checker: tests a text-and-background pairing against WCAG AA and AAA thresholds. It uses HEX inputs for text and background. According to the site’s descriptions, normal text needs 4.5:1 for AA and 7:1 for AAA, while large text needs 3:1 for AA and 4.5:1 for AAA.
All three tools run in the browser with no uploads required, covering color picking, harmony building, and WCAG contrast checking.
The practical implication is that a reader can pick or generate colors in one tool, then move those values into the contrast checker. What the sources do not clarify is whether values move automatically between tools or must be copied and pasted manually.
What text needs contrast testing
Text pairings should be checked whenever legibility for people with low vision or color-vision differences is a design goal. Based on the thresholds quoted by PaletteBench, the following benchmarks apply:
- Normal text: 4.5:1 against its background for WCAG AA, and 7:1 for AAA.
- Large text: 3:1 against its background for WCAG AA, and 4.5:1 for AAA.
“Large text” generally means text that is at least 18 point or 14 point bold, but the supplied PaletteBench materials do not restate that sizing rule, so readers should verify the exact large-text definition in the official WCAG documentation if they are borderline.
Elements that should be candidates for testing include body copy, headings, button labels, link text, form field labels, placeholder text, captions, error messages, and any overlay text placed on images or gradients. The site’s worked example notes that white text on #4338CA measures 7.90:1 and passes normal-text AA and AAA. That figure is specific to that pairing and should not be generalized to other whites or purples.
Because PaletteBench’s checker is described as testing a text-and-background pairing, each distinct combination of foreground text color and background color needs its own check. If the same text color appears on multiple backgrounds, each background pairing should be tested separately.
What icons need contrast testing
Icons and other graphical objects fall under the non-text contrast requirement of 3:1 against adjacent colors. This applies to meaningful icons that convey information or functionality, such as a save icon, a close button symbol, a navigation arrow, or a status indicator. Decorative icons that provide no information may not require the same contrast verification, but readers should treat any icon that users are expected to understand as a candidate for testing.
Graphical controls also fall in this category when their meaning depends on visible shape or color boundaries. Examples include toggle switches, segmented controls, custom radio buttons, and chart elements where segments must be distinguishable from one another.
The supplied materials state the 3:1 non-text contrast threshold in the context of manual testing guidance, but they do not specify exactly how PaletteBench renders or measures icons inside its contrast checker. Therefore, readers should verify whether the checker accepts graphical objects directly or whether they must approximate icon contrast by sampling foreground and background pixels and entering HEX values manually.
What controls and UI states need contrast testing
Interactive components should not be checked only in their default appearance. Manual testing guidance supplied with the materials says to test interactive elements in default, hover, focus, active or pressed, and disabled states. For each state, readers should verify that text, graphical elements, and UI components meet the required contrast ratios.
This means checking:
- Default state: the resting appearance of buttons, links, form controls, and custom widgets.
- Hover state: colors that appear when a pointer rests over the element.
- Focus state: the visible keyboard focus indicator and any accompanying text or border changes.
- Active or pressed state: the appearance while the element is being activated.
- Disabled state: the grayed-out or reduced-opacity appearance, which often has the weakest contrast and can still need to be perceivable enough to communicate that the control is unavailable.
The site’s worked example also advises checking focus, labels, and cues beyond color, suggesting that contrast should not be the only way users identify state changes. However, the materials do not establish whether PaletteBench’s contrast checker has dedicated fields or preview modes for hover, focus, active, or disabled states. Until that is confirmed, readers should treat state testing as a manual step: capture each state’s colors, enter them into the checker, and record results separately.
User workflow: inputs, outputs, and decisions
A practical iteration loop using PaletteBench might look like this:
- Pick a starting color. Use the color picker to select a shade visually or enter a value. Note the HEX, RGB, and HSL values shown, and use the live preview to confirm the shade matches intent. Copy the value you plan to test.
- Generate related options. Open the palette generator with the chosen color as a starting point, or start from a randomized point. Choose a harmony scheme—complementary, analogous, triadic, or tetradic—and review the four-color output. Lock any swatches you want to preserve while exploring other variations.
- Test contrast. Enter the text HEX and background HEX into the contrast checker. Observe the reported ratio and compare it to the relevant threshold: normal text AA (4.5:1) or AAA (7:1); large text AA (3:1) or AAA (4.5:1).
- Decide and iterate. If a pairing fails, adjust one or both colors using the picker or generator, then re-check. Repeat until the pairing meets the target level. The white-on-#4338CA example reported 7.90:1 and passed normal-text AA and AAA, illustrating how a specific pairing can be validated.
- Check states and icons. For controls, repeat the check for hover, focus, active, and disabled appearances. For icons, estimate or sample the foreground and background colors and check against 3:1.
Where the workflow becomes uncertain is in the hand-off between tools. The sources do not state whether a color chosen in the picker can be sent directly to the contrast checker without manual re-entry, whether locked palette actions survive randomization, whether exact ratios are stored or displayed for later reference, whether pass/fail is shown separately for AA and AAA, or whether tested pairs can be copied or exported as CSS custom properties. Readers should treat these as manual operations unless the live tool demonstrates otherwise.
Current gaps and missing information
Several practical questions remain unanswered by the available PaletteBench materials:
- Which color formats can be entered directly into the contrast checker beyond HEX?
- Does the checker report separate results for normal text and large text, or only a single ratio?
- Can a color be sent from the picker to the contrast checker without manual re-entry?
- Are lock actions in the palette generator preserved when randomizing a new scheme?
- What exact contrast ratio does PaletteBench display for a given text-and-background pairing?
- Does the checker indicate pass/fail status for WCAG AA and AAA separately?
- Can users test focus, hover, active, and disabled states for controls within the tool?
- Is there a way to copy or export tested accessible color pairs as CSS custom properties?
- What happens when one color in a locked palette is changed—do dependent swatches update?
- Are sample preview texts rendered in the actual pairing colors being tested?
Until PaletteBench’s documentation or interface confirms these behaviors, readers should plan on manual value entry, manual state capture, and manual recording of pass/fail decisions. Treat the tool descriptions as capability guidance, not a guarantee of specific UI behavior.

