Skip to content
Vectorlight.net

#e2d42e

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

HEX
#e2d42e
RGB
226, 212, 46
HSL
55.33°, 75.63%, 53.33%
OKLCH
0.86 0.17 104.27
Names
—
Lists

Codes

FormatValue
HEX#e2d42e
RGBrgb(226 212 46)
HSLhsl(55.33 75.63% 53.33%)
OKLCHoklch(0.86 0.17 104.27)
CMYKcmyk(0% 6.19% 79.65% 11.37%)
Android#ffe2d42e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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