gettoolz.app

Gold color: #ffd700

The CSS keyword gold is #ffd700, rgb(255, 215, 0) or hsl(51, 100%, 50%). Its codes to copy, 50–950 tint scale, harmonies and contrast on white and black.

Part of design tools.

CSS keywordgold
HEX#ffd700
RGBrgb(255, 215, 0)
HSLhsl(51, 100%, 50%)
OKLCHoklch(88.7% 0.1822 95.33)

About Gold

Gold is a light yellow. Its hue sits at 95° in OKLCH and 51° in HSL — the two wheels are spaced differently, which is why the numbers disagree.

The keyword gold comes from the X Window System color list, which SVG 1.0 adopted and CSS Color Level 3 brought to every stylesheet.

Gold tint scale, 50 to 950

50#fff6d1
100#fbecb1
200#eed77e
300#dbbc34
400#be9f00
500#9e8400
600#7f6a00
700#625100
800#463a00
900#2f2600
950#1f1800

Eleven steps at fixed perceived lightness, in OKLCH, holding gold’s own hue from end to end. The keyword itself falls closest to step 200 (#eed77e), the one outlined; step 500 is #9e8400.

Harmonies built on Gold

Hue angles measured in OKLCH, so every accent keeps gold’s perceived lightness. Its complement is #cfd8ff, closest to the named color lavender.

Complementary

#ffd700
#cfd8ff

Analogous

#ffd700
#beee59
#ffd0a2

Triadic

#ffd700
#91e9ff
#ffc4f1

Split-complementary

#ffd700
#badfff
#e4cfff

Gold on white and on black

gold on white1.40:1 · Fail
gold on black14.97:1 · AAA

Black text reads better on gold (14.97:1). As a text color it belongs on a dark background: on white it only reaches 1.40:1, under the 4.5:1 that body text needs, while on black it reaches 14.97:1. AA asks 4.5:1 for body text and 3:1 for large text; AAA asks 7:1.

Named colors close to Gold

Open gold in the full tools

Or browse every named color from the color converter.