Color reference

Gold #FFD700

Gold is the standard CSS named color at #FFD700: a bright yellow-gold screen color, not a simulation of metallic reflectance.

Gold is the CSS named color keyword gold, standardized at #FFD700 in sRGB.

Gold #FFD700 14.97:1 with black text

Color values

HEX#FFD700
RGBrgb(255, 215, 0)
HSLhsl(51 100% 50%)
HSV51°, 100%, 100%
CMYK0%, 16%, 100%, 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 14.97:1 — AA normal text passes
White text 1.40: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 Gold

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

80% tint #FFF7CC
60% tint #FFEF99
40% tint #FFE766
20% tint #FFDF33
Base #FFD700
20% shade #CCAC00
40% shade #998100
60% shade #665600
80% shade #332B00

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

CSS usage

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

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