gold gold #ffd700
gold is #ffd700 in hexadecimal, rgb(255, 215, 0) in decimal and hsl(51, 100, 50) in HSL. This page lists its harmonies, lightness steps and contrast against black and white — all copyable.
HEX · RGB · HSL
| HEX | #ffd700 |
| RGB | rgb(255, 215, 0) |
| HSL | hsl(51, 100%, 50%) |
Harmonies
Complementary
#0026ffAnalogous
#ff5900#a6ff00Triadic
#00ffd9#d900ffSplit complementary
#00a6ff#5900ffTints & shades
#dbba00#ebc700#ffd900#ffdc14#ffde24Accessibility
| vs #ffffff | 1.4:1 |
| vs #000000 | 14.97:1 |
| Suggested text color | #000000 · 14.97:1 · WCAG AAA |
Similar named colors
FAQ
What is the HEX code for gold?
gold is #ffd700 in hex, rgb(255, 215, 0) in decimal and hsl(51, 100%, 50%) in HSL. In CSS you can write either color: gold; or color: #ffd700; — they are equivalent.
What colors go with gold?
The complementary #0026ff gives the strongest contrast, the analogous pair #ff5900 / #a6ff00 is the safest, and the triad #00ffd9 / #d900ff adds more tension. All three are derived from the 51° hue of #ffd700.
Does #ffd700 read better on white or black?
Its contrast is 1.4:1 against white and 14.97:1 against black. Use #000000 text on it — that gives 14.97:1, which meets WCAG AAA.
Is a named color different from a hex color?
No. CSS named colors are just syntactic sugar for standard six-digit hex values; browsers resolve them to identical results in every modern engine.