Skip to content
Vectorlight.net

#e2dd52

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

HEX
#e2dd52
RGB
226, 221, 82
HSL
57.92°, 71.29%, 60.39%
OKLCH
0.88 0.16 107.25
Names
—
Lists

Codes

FormatValue
HEX#e2dd52
RGBrgb(226 221 82)
HSLhsl(57.92 71.29% 60.39%)
OKLCHoklch(0.88 0.16 107.25)
CMYKcmyk(0% 2.21% 63.72% 11.37%)
Android#ffe2dd52

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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