Skip to content
Vectorlight.net

#e2c42d

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

HEX
#e2c42d
RGB
226, 196, 45
HSL
50.06°, 75.73%, 53.14%
OKLCH
0.82 0.16 96.98
Names
—
Lists

Codes

FormatValue
HEX#e2c42d
RGBrgb(226 196 45)
HSLhsl(50.06 75.73% 53.14%)
OKLCHoklch(0.82 0.16 96.98)
CMYKcmyk(0% 13.27% 80.09% 11.37%)
Android#ffe2c42d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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