Skip to content
Vectorlight.net

#d9bc22

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

HEX
#d9bc22
RGB
217, 188, 34
HSL
50.49°, 72.91%, 49.22%
OKLCH
0.8 0.16 97.27
Names
—
Lists

Codes

FormatValue
HEX#d9bc22
RGBrgb(217 188 34)
HSLhsl(50.49 72.91% 49.22%)
OKLCHoklch(0.8 0.16 97.27)
CMYKcmyk(0% 13.36% 84.33% 14.9%)
Android#ffd9bc22

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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