Color reference

White #FFFFFF

White is the standard CSS named color #FFFFFF, with all three sRGB channels at full intensity.

White is the CSS named color keyword white, standardized at #FFFFFF in sRGB.

White #FFFFFF 21.00:1 with black text

Color values

HEX#FFFFFF
RGBrgb(255, 255, 255)
HSLhsl(0 0% 100%)
HSV0°, 0%, 100%
CMYK0%, 0%, 0%, 0%

HEX/RGB/HSL/HSV are deterministic sRGB representations. CMYK here is a mathematical approximation, not a printer-profile conversion.

Black or white text?

Black text 21.00:1 — AA normal text passes
White text 1.00:1 — AA normal text fails

AA normal text: black passes; white fails.

AA large text: black passes; white fails.

WCAG contrast thresholds use 4.5:1 for normal text and 3:1 for large text. Do not round a near-threshold result upward when testing conformance.

Tints and shades of White

These steps are computed by RGB-mixing #FFFFFF toward white or black. They are generated values, not official named colors.

80% tint #FFFFFF
60% tint #FFFFFF
40% tint #FFFFFF
20% tint #FFFFFF
Base #FFFFFF
20% shade #CCCCCC
40% shade #999999
60% shade #666666
80% shade #333333

Need more control? Use the Tints and Shades Generator or Lighten / Darken tool.

CSS usage

.example {
  color: #000000;
  background-color: white;
}

You can use either white or #FFFFFF in CSS; both resolve to the same sRGB color.