Skip to content
Vectorlight.net

#eec22a

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

HEX
#eec22a
RGB
238, 194, 42
HSL
46.53°, 85.22%, 54.9%
OKLCH
0.83 0.16 91.01
Names
—
Lists

Codes

FormatValue
HEX#eec22a
RGBrgb(238 194 42)
HSLhsl(46.53 85.22% 54.9%)
OKLCHoklch(0.83 0.16 91.01)
CMYKcmyk(0% 18.49% 82.35% 6.67%)
Android#ffeec22a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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