A Digital Accessibility Quick Reference Guide

Color wheel with 12 primary colors of the HSL color system.

HLS Color Wheel

HSL stands for Hue, Saturation, and Luminance. When picking colors that meet WCAG color contrast requirements, this system is often easier to work with than RGB or hex codes.

Most contrast checkers are based on HSL. You pick a hue, then adjust it by adding white, gray, or black. Here’s how those adjustments affect accessibility.

Hue

The base color—pure, bright, and untouched by lightness or darkness. Think of your basic Crayola set.

Also called: pure color, true color, color family

Hue + White:
Usually not accessible on white backgrounds.
Blue to purple hues are most likely to pass.

Hue + Black:
More accessible on black backgrounds.
But be careful—it can look harsh or over-saturated.

Color wheel with 12 primary colors of the HSL color system.

Saturation (Gray Added)

Saturation is the amount of gray in a color. It mutes or neutralizes the hue.

Also called: tone, desaturated color

Tone + Black:
Usually fails. Gray and black are too similar.

Tone + White:
Often passes! Muted colors tend to darken slightly and work better on light backgrounds.

Five color swatches of red tones, starting with pure red and progressing to muted pink.

Luminance (Light or Dark Added)

Luminance is how much white or black is added to a hue. That gives you either a tint or a shade.

Tint (Hue + White)

Also called: light color, pastel

Five color swatches of red tints, starting with pure red and progressing to pale pink.

Tint + White:

Almost never accessible.

Even bold colors like red or blue can fade into white.

Tint + Black:
Often accessible. High contrast makes black-on-pastel work.

Yellow Warning:
Yellow has very high luminance and is never accessible on a white background. Adding black can make it more readable—but it may start to look brown.

If your brand uses tints:
Don’t use them for text or links. Save them for backgrounds, accents, or illustrations.

Shade (Hue + Black)

Also called: dark color, deep color

Five color swatches of red shades, starting with pure red and progressing to black.

Shade + White:
Perfect for accessibility. Shades are your go-to for body text and small text on light backgrounds.

Shade + Black:
Fails. Too little contrast.

Link Text Tip:
Be cautious. Dark shades used as link colors must still contrast with surrounding text and the background.

HSL Primary Color Code Chart

Here is a list of the color codes for hues in the basic color wheel. Use them as a starting point. Adjust the luminance and saturation to find accessible variations.

Primary HueHSVHexWeb Name
Red0,100,50#FF0000Red
Orange30,100,50#FF8000Orange
Yellow60,100,50#FFFF00Yellow
Yellow-Green90,100,50#80FF00Chartreuse
Green120,100,50#00FF00Green
Green-Cyan150,100,50#00FF80Spring Green
Cyan180,100,50#00FFFFCyan
Cyan-Blue210,100,50#007FFFAzure
Blue240,100,50#0000FFBlue
Violet270,100,50#7F00FFViolet
Magenta 300,100,50#FF00FFFuchsia
Magenta-Red330,100,50#FF0091Magenta