Skip to content

Gold color #FFD700

rgb(255, 215, 0) · oklch(88.7% 0.182 95.3)

Gold (#FFD700) is a light, vivid, warm yellow. It mixes 100% red, 84% green and 0% blue, with a perceived lightness of 88.7% in OKLCH. Black text reads best on it (14.97:1 vs 1.40:1). The closest other CSS color is Khaki (#F0E68C). For people with tritanopia it shifts the most, toward #FFC4B7.

Gold color codes

HEX
RGB
HSL
HSV / HSB
OKLCH
CMYK
CSS keyword

Click a value to copy it. Convert any other color with the color converter.

Shades, tints and tones of gold

Shades mix gold with black, tints mix it with white, and tones mix it with gray. Mixing happens in OKLab, so the steps look evenly spaced.

Tints (lighter)

Shades (darker)

Tones (muted)

Gold as a UI color scale (50–950)

An 11-step scale for design systems, with gold placed at step 200. Copy it as a Tailwind v4 theme below.

Colors that go with gold

Harmonies are computed on the OKLCH hue wheel, keeping gold’s lightness and saturation where the sRGB gamut allows. Open any row in the palette generator to adjust it.

Complementary

Edit

The base color and the hue directly opposite it. Maximum contrast; use one as the accent.

Analogous

Edit

Neighbors 30° either side on the hue wheel. Calm and cohesive, common in nature.

Triadic

Edit

Three hues spaced 120° apart. Vibrant but balanced; let one dominate.

Split complementary

Edit

The base plus the two hues beside its complement (±30°). Contrast with less tension than complementary.

Tetradic (rectangle)

Edit

Two complementary pairs (rectangle: 0°, 60°, 180°, 240°). Rich; needs one dominant color.

Monochromatic

Edit

One hue at different lightness levels. Safe, elegant, and easy to read.

Is gold accessible? Contrast with white and black

Gold text on white

1.40:1

AA fail AA large fail AAA fail

Gold text on black

14.97:1

AA pass AA large pass AAA pass

Check gold against any other color

How gold looks with color blindness

Simulated with the Machado et al. (2009) model. Around 1 in 12 men and 1 in 200 women have some form of color vision deficiency.

Protanopia: #f0d300
Red-blind. Reds look dark and brownish; red and green are easily confused.
Deuteranopia: #fadf24
Green-blind, the most common strong form. Red, green, orange and brown look similar.
Tritanopia: #ffc4b7
Blue-blind and rare. Blue and green are confused, as are yellow and pink.
Achromatopsia: #dadada
Total color blindness, very rare. Only lightness differences are visible.

Colors similar to gold

The closest CSS named colors by perceptual distance (ΔE OK; under 2 is hard to tell apart).

ΔE 7.7 Khaki
#f0e68c
ΔE 9.9 Yellow
#ffff00
ΔE 10.9 Pale Goldenrod
#eee8aa
ΔE 11.9 Navajo White
#ffdead

Use gold in CSS and Tailwind

CSS custom properties

:root {
  --gold: #ffd700;
  --gold-rgb: 255 215 0;
}

.text-gold { color: var(--gold); }
.bg-gold { background-color: var(--gold); }

Tailwind v4 theme

@theme {
  --color-gold-50: #f8f7f3;
  --color-gold-100: #f1eddd;
  --color-gold-200: #ffd700;
  --color-gold-300: #d8c063;
  --color-gold-400: #bba02d;
  --color-gold-500: #9e8400;
  --color-gold-600: #836d00;
  --color-gold-700: #675711;
  --color-gold-800: #504518;
  --color-gold-900: #3d3518;
  --color-gold-950: #231f10;
}

Make a gradient from gold: open the gradient generator.

Painting in Procreate or designing in Photoshop? See our palette packs: every color with HEX codes is free to browse, and the swatch files are a quick download.

More yellow colors