Skip to content
Vectorlight.net

#d8ab3f

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

HEX
#d8ab3f
RGB
216, 171, 63
HSL
42.35°, 66.23%, 54.71%
OKLCH
0.76 0.13 85.57
Names
—
Lists

Codes

FormatValue
HEX#d8ab3f
RGBrgb(216 171 63)
HSLhsl(42.35 66.23% 54.71%)
OKLCHoklch(0.76 0.13 85.57)
CMYKcmyk(0% 20.83% 70.83% 15.29%)
Android#ffd8ab3f

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.81: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="#d8ab3f"
Gradient stop
<stop stop-color="#d8ab3f"/>
CSS variable + fill
:root { --c: #d8ab3f; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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