Skip to content
Vectorlight.net

#d7cc2f

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

HEX
#d7cc2f
RGB
215, 204, 47
HSL
56.07°, 67.74%, 51.37%
OKLCH
0.83 0.16 105.21
Names
—
Lists

Codes

FormatValue
HEX#d7cc2f
RGBrgb(215 204 47)
HSLhsl(56.07 67.74% 51.37%)
OKLCHoklch(0.83 0.16 105.21)
CMYKcmyk(0% 5.12% 78.14% 15.69%)
Android#ffd7cc2f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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