gold (#FFD700)

gold is a CSS named color with the hex code #FFD700, rgb(255, 215, 0). It is a medium, vivid amber.

gold#FFD700
Keywordgold
HEX#ffd700
RGBrgb(255, 215, 0)
HSLhsl(51, 100%, 50%)

Full #FFD700 details: palettes, shades, color-blind view →

Description

Gold (read as "g old") has a hue of 51°, saturation 100% and lightness 50%, which places it in the yellow family. Its strongest channel is red (255).

Using gold in CSS

.title { color: gold; }
.box   { background: gold; border-color: #ffd700; }
.soft  { background: rgb(255 215 0 / 20%); }   /* gold at 20% opacity */

Named colors are case-insensitive and supported by every browser. Most of the 148 names come from the X11 color list adopted by early browsers.

Similar named colors

ColorHEXRGBΔE 2000
yellow#ffff00255, 255, 011.6
khaki#f0e68c240, 230, 14012.5
goldenrod#daa520218, 165, 3213.7
palegoldenrod#eee8aa238, 232, 17016.8
darkkhaki#bdb76b189, 183, 10716.9
navajowhite#ffdead255, 222, 17317.4
orange#ffa500255, 165, 017.4
moccasin#ffe4b5255, 228, 18117.7

ΔE 2000 measures perceived difference: under 2 is hard to tell apart, over 10 is clearly different.

Pairs well with

Readability

Contrast with white text: 1.40:1; with black text: 14.97:1. Black body text on gold meets WCAG AA; white text does not.

Frequently asked questions

What is the hex code for gold?
#FFD700.
What colors are similar to gold?
yellow (#ffff00), khaki (#f0e68c), goldenrod (#daa520).