Skip to content
Vectorlight.net

#d2c91f

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

HEX
#d2c91f
RGB
210, 201, 31
HSL
56.98°, 74.27%, 47.25%
OKLCH
0.82 0.17 106.19
Names
—
Lists

Codes

FormatValue
HEX#d2c91f
RGBrgb(210 201 31)
HSLhsl(56.98 74.27% 47.25%)
OKLCHoklch(0.82 0.17 106.19)
CMYKcmyk(0% 4.29% 85.24% 17.65%)
Android#ffd2c91f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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