Skip to content
Vectorlight.net

#d8a204

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#d8a204
RGB
216, 162, 4
HSL
44.72°, 96.36%, 43.14%
OKLCH
0.74 0.15 84.38
Names
—
Lists

Codes

FormatValue
HEX#d8a204
RGBrgb(216 162 4)
HSLhsl(44.72 96.36% 43.14%)
OKLCHoklch(0.74 0.15 84.38)
CMYKcmyk(0% 25% 98.15% 15.29%)
Android#ffd8a204

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
2.31:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.08:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#d8a204"
Gradient stop
<stop stop-color="#d8a204"/>
CSS variable + fill
:root { --c: #d8a204; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #d8a204;
background-color: #d8a204;
bg-[#d8a204]