Skip to content
Vectorlight.net

#d9a42e

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

HEX
#d9a42e
RGB
217, 164, 46
HSL
41.4°, 69.23%, 51.57%
OKLCH
0.75 0.14 82.55
Names
—
Lists

Codes

FormatValue
HEX#d9a42e
RGBrgb(217 164 46)
HSLhsl(41.4 69.23% 51.57%)
OKLCHoklch(0.75 0.14 82.55)
CMYKcmyk(0% 24.42% 78.8% 14.9%)
Android#ffd9a42e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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