Skip to content
Vectorlight.net

#e2ac12

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

HEX
#e2ac12
RGB
226, 172, 18
HSL
44.42°, 85.25%, 47.84%
OKLCH
0.77 0.16 85.3
Names
—
Lists

Codes

FormatValue
HEX#e2ac12
RGBrgb(226 172 18)
HSLhsl(44.42 85.25% 47.84%)
OKLCHoklch(0.77 0.16 85.3)
CMYKcmyk(0% 23.89% 92.04% 11.37%)
Android#ffe2ac12

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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