Skip to content
Vectorlight.net

#e2d71e

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

HEX
#e2d71e
RGB
226, 215, 30
HSL
56.63°, 77.17%, 50.2%
OKLCH
0.86 0.18 105.72
Names
—
Lists

Codes

FormatValue
HEX#e2d71e
RGBrgb(226 215 30)
HSLhsl(56.63 77.17% 50.2%)
OKLCHoklch(0.86 0.18 105.72)
CMYKcmyk(0% 4.87% 86.73% 11.37%)
Android#ffe2d71e

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.97: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="#e2d71e"
Gradient stop
<stop stop-color="#e2d71e"/>
CSS variable + fill
:root { --c: #e2d71e; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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