What Is Color Value and Why Does It Matter?

December 2, 2025 • 4 min read
Color value is how light or dark a color is, on a scale from black to white, regardless of its hue. Pure yellow #FFFF00 has a very high value and pure blue #0000FF a very low one, even though both are fully saturated. Value decides contrast, so it determines whether text is readable and which elements stand out first.


Value, Hue, and Saturation

Every color can be described by three properties:

  • Hue — which color family it belongs to (red, blue, green)
  • Saturation (or chroma) — how intense or gray it is
  • Value — how light or dark it is

Artists measure value on scales such as Munsell’s, from 0 (black) to 10 (white). On screens, the closest measure is relative luminance: how much light a color emits compared with white, from 0 to 1. Luminance is what the WCAG contrast formula uses.


HSL Lightness Is Not Value

The “L” in HSL looks like a value control, but it ignores how differently the eye responds to each hue. Every fully saturated color below has an HSL lightness of 50%, yet their real values range from nearly white to nearly black:

Color HSL Relative Luminance Equivalent Gray Contrast on White Contrast on Black
Yellow #FFFF00 hsl(60, 100%, 50%) 0.93 #F7F7F7 1.07:1 19.6:1
Cyan #00FFFF hsl(180, 100%, 50%) 0.79 #E5E5E5 1.25:1 16.7:1
Green #00FF00 hsl(120, 100%, 50%) 0.72 #DCDCDC 1.37:1 15.3:1
Magenta #FF00FF hsl(300, 100%, 50%) 0.28 #919191 3.14:1 6.7:1
Red #FF0000 hsl(0, 100%, 50%) 0.21 #7F7F7F 4.00:1 5.25:1
Blue #0000FF hsl(240, 100%, 50%) 0.07 #4C4C4C 8.59:1 2.44:1

Same lightness number, completely different value. This is why a palette built by giving every color the same HSL lightness still has uneven contrast, and why yellow text on white is unreadable while blue text on white passes easily. Perceptual color spaces such as OKLCH were designed to fix this: their lightness channel tracks value much more closely.


Worked Example: The Value of #2387FF

Relative luminance weights the three channels by how sensitive the eye is to each, with green counting most:

1. Channels:          R 35, G 135, B 255
2. Linearize (sRGB):  R 0.017, G 0.242, B 1.000
3. Weight and add:    0.2126 × 0.017 + 0.7152 × 0.242 + 0.0722 × 1.000
                      = 0.004 + 0.173 + 0.072
                      = 0.249

A luminance of 0.249 matches the gray #898989. Against white, that gives a contrast ratio of 3.51:1, which passes WCAG AA for large text (3:1) but fails for body text (4.5:1). Darkening the same blue to #0070F7 raises the contrast on white to about 4.5:1.


Why Value Matters in Design

  • Readability. Text needs a value difference from its background: WCAG AA requires 4.5:1 for body text and 3:1 for large text. The middle gray #767676 is the lightest gray that passes 4.5:1 on white.
  • Hierarchy. The eye goes first to the strongest value contrast. A dark button on a light page draws attention before a brightly colored one with similar value to its surroundings.
  • Depth. In painting, distant objects lose value contrast and drift toward the sky’s value (atmospheric perspective). In dark-mode interfaces, lighter surfaces read as closer to the viewer, which is how Material Design shows elevation.
  • Accessibility beyond contrast ratios. People with color vision deficiencies still see value differences clearly, so a chart or status indicator that differs in value as well as hue works for more viewers.

How to Check Value

  • Grayscale preview. Desaturate a screenshot or design (most design tools and phone accessibility settings offer a grayscale view). If two elements merge in gray, they lack value contrast.
  • Squint test. Squinting blurs detail and leaves mostly value, showing which areas dominate.
  • Contrast ratio. Calculate relative luminance as above, or use a contrast checker, for every text and icon pair.
  • Value scale. Lay out a palette from lightest to darkest. Gaps or bunching show where the palette needs another step.

Common Pitfalls

  • Trusting HSL lightness for contrast. hsl(60, 100%, 50%) and hsl(240, 100%, 50%) share a lightness but differ by more than 8× in luminance.
  • Relying on hue alone. A red error state and a green success state of similar value look identical to someone with red-green color blindness. Add an icon or a value difference.
  • Light-gray placeholder text. #AAAAAA on white is about 2.3:1 and fails WCAG; #767676 is the practical minimum.
  • A palette with every color mid-value. Colors that all sit near the same luminance have no natural hierarchy. Include at least one very light and one very dark member.

Using Value in Practice

Decide the value structure first (what should be darkest, lightest, and in between), then choose hues that fit those values. The swatch.ing color converter checks any color’s contrast against white and black and generates lighter and darker versions to adjust value without changing hue. For building those steps, see tints, shades, and tones; for whole light or dark palettes, see high-key vs low-key colors.

Keep learning

More on color theory

All guides