Skip to content
Vectorlight.net

#d9af2a

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

HEX
#d9af2a
RGB
217, 175, 42
HSL
45.6°, 69.72%, 50.78%
OKLCH
0.77 0.15 89.74
Names
—
Lists

Codes

FormatValue
HEX#d9af2a
RGBrgb(217 175 42)
HSLhsl(45.6 69.72% 50.78%)
OKLCHoklch(0.77 0.15 89.74)
CMYKcmyk(0% 19.35% 80.65% 14.9%)
Android#ffd9af2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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