Skip to content
Vectorlight.net

#d9b42e

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

HEX
#d9b42e
RGB
217, 180, 46
HSL
47.02°, 69.23%, 51.57%
OKLCH
0.78 0.15 92.37
Names
—
Lists

Codes

FormatValue
HEX#d9b42e
RGBrgb(217 180 46)
HSLhsl(47.02 69.23% 51.57%)
OKLCHoklch(0.78 0.15 92.37)
CMYKcmyk(0% 17.05% 78.8% 14.9%)
Android#ffd9b42e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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