Skip to content
Vectorlight.net

#eec540

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

HEX
#eec540
RGB
238, 197, 64
HSL
45.86°, 83.65%, 59.22%
OKLCH
0.84 0.15 91.11
Names
—
Lists

Codes

FormatValue
HEX#eec540
RGBrgb(238 197 64)
HSLhsl(45.86 83.65% 59.22%)
OKLCHoklch(0.84 0.15 91.11)
CMYKcmyk(0% 17.23% 73.11% 6.67%)
Android#ffeec540

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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