Gold Hex Code: #FFD700 and 20 Shades of Gold (Metallic, Pale, Dark)

Featured graphic for “Gold Hex Code” showing color swatches and codes

The gold hex code is #FFD700, the official CSS color named gold. It is a bright, warm yellow, which surprises many people who expect the deeper tone of gold jewelry.

That’s because real gold is metallic: it looks gold because of its reflections, not one flat color. This guide gives you every code for #FFD700, explains the difference between CSS gold and metallic gold, lists 20 gold shades from pale to antique, and includes a CSS gradient that makes gold actually look like metal.

Gold color codes

FormatValue
HEX#FFD700
RGBrgb(255, 215, 0)
HSLhsl(51, 100%, 50%)
CMYK (approx.)0, 16, 100, 0
CSS namegold

With full saturation and 50% lightness, #FFD700 is the most vivid version of its hue. In print, a real metallic gold needs metallic ink or foil; CMYK can only print a flat yellow-gold.

CSS gold vs metallic gold

CSS goldMetallic gold
Hex#FFD700#D4AF37 (commonly listed value)
RGB255, 215, 0212, 175, 55
HSL51°, 100%, 50%46°, 65%, 52%
LookBright yellow-goldDeeper, softer, more “real”
Best forHighlights, stars, badgesLuxury branding, borders, text on dark

Metallic gold has no official CSS name, so its value varies between sources; #D4AF37 is the one most often listed. Rose gold is similar: #B76E79 is a commonly listed value, not an official one.

20 shades of gold

Official CSS golds

NameHexRGB
Gold#FFD700255, 215, 0
Goldenrod#DAA520218, 165, 32
DarkGoldenrod#B8860B184, 134, 11
PaleGoldenrod#EEE8AA238, 232, 170
LightGoldenrodYellow#FAFAD2250, 250, 210
Khaki#F0E68C240, 230, 140

Commonly listed golds

NameHexRGB
Metallic gold#D4AF37212, 175, 55
Rose gold#B76E79183, 110, 121

Bright golds

HexRGBText on it
#F7E56E247, 229, 110Dark (14.74:1)
#FFDD33255, 221, 51Dark (14.07:1)
#F9CE1F249, 206, 31Dark (12.48:1)
#F3BC16243, 188, 22Dark (10.80:1)

Metallic golds

HexRGBText on it
#C9B05E201, 176, 94Dark (8.86:1)
#D4AC35212, 172, 53Dark (8.77:1)
#B8912E184, 145, 46Dark (6.41:1)
#9E792E158, 121, 46Dark (4.70:1)

Antique and dark golds

HexRGBText on it
#A18545161, 133, 69Dark (5.36:1)
#836221131, 98, 33White (5.62:1)
#6F5220111, 82, 32White (7.23:1)
#60452096, 69, 32White (8.86:1)

Make gold look metallic with a CSS gradient

A single flat color can’t shine. A gradient with a bright highlight between darker bands imitates light on metal:

.gold-metal {
  background: linear-gradient(135deg,
    #8A6D1E 0%,
    #D4AF37 40%,
    #FFF1A8 50%,
    #D4AF37 60%,
    #8A6D1E 100%);
}

The dark antique gold at each end acts as shadow, #D4AF37 is the body of the metal, and the pale #FFF1A8 band in the middle is the reflection.

Tips:

  • Softer, brushed gold: widen the highlight band (for example 30%, 50%, 70%).
  • Rose gold: swap in #B76E79 and a pale pink highlight such as #F6D5D9.
  • Gold text: use the gradient with background-clip: text, keep the text large and bold, and place it on a dark background.

The same technique creates metallic silver; see our silver guide for that version.

Text and gold

Gold is light, so it needs dark text, and gold text needs a dark background:

PairingContrastVerdict
Navy #000080 text on #FFD70011.41:1Passes easily
Maroon #800000 text on #FFD7007.81:1Passes easily
Metallic gold #D4AF37 text on #1A1A1A8.28:1Passes easily
Metallic gold #D4AF37 text on navy #0B1F3A7.86:1Passes easily
White text on #FFD7001.40:1Fails

If you need gold-colored text on a white background, use a dark gold such as #6B4E0A (7.58:1 on #FFFDF5) and keep the bright gold for decoration.

Colors that go with gold

  • Navy: classic, premium (see our navy blue guide).
  • Burgundy and maroon: rich and traditional.
  • Black and charcoal: luxury and evening events.
  • Ivory and cream: weddings and invitations.
  • Emerald and deep green: holidays and finance.

Common mistakes with gold

  1. Expecting #FFD700 to look like jewelry. It’s bright yellow. Fix: use #D4AF37 or a gradient.
  2. White text on gold. It fails badly (1.40:1). Fix: use navy, maroon or near-black.
  3. Gold text on white. Light golds disappear. Fix: put gold text on dark backgrounds, or use a dark gold.
  4. Too much gold. It quickly looks cheap. Fix: use gold for accents, borders and icons.
  5. Printing gold with CMYK and expecting shine. Fix: ask your printer about metallic ink or foil.

FAQ

What is the hex code for gold?

The CSS color gold is #FFD700, which is rgb(255, 215, 0).

What is the hex code for metallic gold?

There is no official one. #D4AF37 is the most commonly listed value, and a gradient gives the most realistic metallic look.

What is the hex code for rose gold?

There is no official one either. #B76E79 is a commonly listed value.

What color text goes on gold?

Dark colors such as navy, maroon or near-black. White text on #FFD700 fails contrast.

What colors go with gold?

Navy, black, burgundy, emerald green, cream and white.

Choose your gold

Use #FFD700 for a bright highlight, #D4AF37 for a realistic metallic gold, an antique gold for text and borders, and a gradient whenever you want real shine.

Scroll to Top