Skip to content
Vectorlight.net

#e2c50a

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

HEX
#e2c50a
RGB
226, 197, 10
HSL
51.94°, 91.53%, 46.27%
OKLCH
0.82 0.17 98.36
Names
—
Lists

Codes

FormatValue
HEX#e2c50a
RGBrgb(226 197 10)
HSLhsl(51.94 91.53% 46.27%)
OKLCHoklch(0.82 0.17 98.36)
CMYKcmyk(0% 12.83% 95.58% 11.37%)
Android#ffe2c50a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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