Gold Color

HEX #FFD700 · rgb(255, 215, 0) · hsl(51, 100%, 50%)

Gold color codes

Gold is one of the named colors every browser understands. In CSS you can write it as gold or #FFD700.

FormatValue
HEX#FFD700
RGBrgb(255, 215, 0)
HSLhsl(51, 100%, 50%)
CMYK0%, 16%, 100%, 0%
CSS namegold
.example {
  color: gold;
  background-color: #FFD700;
  border-color: rgb(255, 215, 0);
}

Colors that go with gold

These harmonies keep the same saturation and lightness and rotate the hue around the color wheel.

#0028FFComplementary
#FF5700Analogous
#A8FF00Analogous
#00FFD7Triadic
#D700FFTriadic

Tints and shades of gold

Tints mix the color with white; shades mix it with black.

#FFFBE690% white
#FFF5BF75% white
#FFEF9960% white
#FFE97345% white
#FFE34D30% white
#FFDD2615% white
#FFD700Base
Gold
#D9B70015% black
#B3970030% black
#8C760045% black
#66560060% black
#40360075% black
#1A160090% black

Contrast and readability

Black text
14.97:1
passes AA and AAA
White text
1.40:1
fails

Use black text on gold. Ratios follow the WCAG 2 formula; AA needs 4.5:1 for normal text and 3:1 for large text.

Frequently asked questions

What is the hex code for gold?

The hex code for gold is #FFD700.

What is the RGB value of gold?

Gold is rgb(255, 215, 0): 255 red, 215 green and 0 blue on a 0 to 255 scale.

What color goes with gold?

Its complementary color is #0028FF, which is closest to the named color blue. Analogous and triadic matches are listed on this page.

Should text on gold be black or white?

Use black text. The contrast ratio is 14.97:1 with black and 1.40:1 with white. WCAG AA asks for at least 4.5:1 for normal text.

Similar named colors

Pick any other color with the color picker, or browse all named colors.