Skip to content
Vectorlight.net

#e2d40c

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

HEX
#e2d40c
RGB
226, 212, 12
HSL
56.07°, 89.92%, 46.67%
OKLCH
0.85 0.18 104.71
Names
—
Lists

Codes

FormatValue
HEX#e2d40c
RGBrgb(226 212 12)
HSLhsl(56.07 89.92% 46.67%)
OKLCHoklch(0.85 0.18 104.71)
CMYKcmyk(0% 6.19% 94.69% 11.37%)
Android#ffe2d40c

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

Recolor an SVG with this color

CSS

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