Skip to content
Vectorlight.net

#d9b02f

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

HEX
#d9b02f
RGB
217, 176, 47
HSL
45.53°, 69.11%, 51.76%
OKLCH
0.77 0.14 89.95
Names
—
Lists

Codes

FormatValue
HEX#d9b02f
RGBrgb(217 176 47)
HSLhsl(45.53 69.11% 51.76%)
OKLCHoklch(0.77 0.14 89.95)
CMYKcmyk(0% 18.89% 78.34% 14.9%)
Android#ffd9b02f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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