Xerobit

Gold Hex Code and Color Values

Gold (CSS keyword gold) is #FFD700: rgb(255, 215, 0), hsl(51, 100%, 50%).

Gold: #FFD700

  • Hex
    #FFD700
  • RGB
    rgb(255, 215, 0)
  • HSL
    hsl(51, 100%, 50%)
  • OKLCH
    oklch(88.7% 0.1822 95.3)
  • CMYK
    0%, 16%, 100%, 0%
  • CSS name
    gold

Where the name gold comes from

gold is a named color in CSS Color 4, section 6.1.

An X11 name adopted into SVG and then CSS.

No three-digit short form.

Shades and tints of Gold

  • 10% white #FFDB1A gold; 10% black #E6C200
  • 20% white #FFDF33 gold; 20% black #CCAC00 goldenrod
  • 30% white #FFE34D gold; 30% black #B39700 darkgoldenrod
  • 40% white #FFE766 khaki; 40% black #998100 olive
  • 50% white #FFEB80 khaki; 50% black #806C00

Contrast of #FFD700

Against white 1.40:1 (fails), against black 14.97:1 (passes AAA); black text reads better on Gold. In HSV it is hsv(51, 100%, 100%).

Lightness rank 41 of 139; best partner black, 14.97:1.

Closest names to Gold

Gold has OKLCH hue 95 degrees.

NameHexOKLab distanceThan Gold
khaki#F0E68C0.077lighter
yellow#FFFF000.099lighter
palegoldenrod#EEE8AA0.109lighter
navajowhite#FFDEAD0.119lighter
orange#FFA5000.121darker
wheat#F5DEB30.125lighter
moccasin#FFE4B50.125lighter

Color harmony for Gold

  • Complementary: #0028FF blue
  • Analogous: #FF5700 orangered, #A8FF00 greenyellow
  • Triadic: #00FFD7 aquamarine, #D700FF
  • Split complementary: #00A8FF , #5700FF

Gold with color vision deficiency

  • Protanopia: #F0D300
  • Deuteranopia: #FADF24, like chartreuse (#7FFF00), lawngreen (#7CFC00), greenyellow (#ADFF2F)
  • Tritanopia: #FFC4B7

FAQ

What is the hex code for Gold?

#FFD700, or the keyword gold.

Which named color is closest to Gold?

khaki (#F0E68C), then yellow and palegoldenrod.