Skip to content
Vectorlight.net

#d7ea31

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

HEX
#d7ea31
RGB
215, 234, 49
HSL
66.16°, 81.5%, 55.49%
OKLCH
0.89 0.19 115.74
Names
—
Lists

Codes

FormatValue
HEX#d7ea31
RGBrgb(215 234 49)
HSLhsl(66.16 81.5% 55.49%)
OKLCHoklch(0.89 0.19 115.74)
CMYKcmyk(8.12% 0% 79.06% 8.24%)
Android#ffd7ea31

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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