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

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

Harmonies

Complementary

#0026ff

Analogous

#ff5900#a6ff00

Triadic

#00ffd9#d900ff

Split complementary

#00a6ff#5900ff

Tints & shades

#dbba00#ebc700#ffd900#ffdc14#ffde24

Accessibility

vs #ffffff1.4:1
vs #00000014.97:1
Suggested text color#000000 · 14.97:1 · WCAG AAA

Similar named colors

yellow#ffff00orange#ffa500goldenrod#daa520darkorange#ff8c00greenyellow#adff2fdarkgoldenrod#b8860b

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.

← All named colors