Skip to content
Vectorlight.net

#e2ab16

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

HEX
#e2ab16
RGB
226, 171, 22
HSL
43.82°, 82.26%, 48.63%
OKLCH
0.77 0.15 84.56
Names
—
Lists

Codes

FormatValue
HEX#e2ab16
RGBrgb(226 171 22)
HSLhsl(43.82 82.26% 48.63%)
OKLCHoklch(0.77 0.15 84.56)
CMYKcmyk(0% 24.34% 90.27% 11.37%)
Android#ffe2ab16

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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