Skip to content
Vectorlight.net

#eec240

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

HEX
#eec240
RGB
238, 194, 64
HSL
44.83°, 83.65%, 59.22%
OKLCH
0.83 0.15 89.42
Names
—
Lists

Codes

FormatValue
HEX#eec240
RGBrgb(238 194 64)
HSLhsl(44.83 83.65% 59.22%)
OKLCHoklch(0.83 0.15 89.42)
CMYKcmyk(0% 18.49% 73.11% 6.67%)
Android#ffeec240

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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