Skip to content
Vectorlight.net

#d7d951

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

HEX
#d7d951
RGB
215, 217, 81
HSL
60.88°, 64.15%, 58.43%
OKLCH
0.86 0.16 110.08
Names
—
Lists

Codes

FormatValue
HEX#d7d951
RGBrgb(215 217 81)
HSLhsl(60.88 64.15% 58.43%)
OKLCHoklch(0.86 0.16 110.08)
CMYKcmyk(0.92% 0% 62.67% 14.9%)
Android#ffd7d951

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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