Skip to content
Vectorlight.net

#d9b22f

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

HEX
#d9b22f
RGB
217, 178, 47
HSL
46.24°, 69.11%, 51.76%
OKLCH
0.78 0.15 91.14
Names
—
Lists

Codes

FormatValue
HEX#d9b22f
RGBrgb(217 178 47)
HSLhsl(46.24 69.11% 51.76%)
OKLCHoklch(0.78 0.15 91.14)
CMYKcmyk(0% 17.97% 78.34% 14.9%)
Android#ffd9b22f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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