Skip to content
Vectorlight.net

#d8ab4e

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

HEX
#d8ab4e
RGB
216, 171, 78
HSL
40.43°, 63.89%, 57.65%
OKLCH
0.76 0.12 83.12
Names
—
Lists

Codes

FormatValue
HEX#d8ab4e
RGBrgb(216 171 78)
HSLhsl(40.43 63.89% 57.65%)
OKLCHoklch(0.76 0.12 83.12)
CMYKcmyk(0% 20.83% 63.89% 15.29%)
Android#ffd8ab4e

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
2.13:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.85: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="#d8ab4e"
Gradient stop
<stop stop-color="#d8ab4e"/>
CSS variable + fill
:root { --c: #d8ab4e; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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