Skip to content
Vectorlight.net

#eec340

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

HEX
#eec340
RGB
238, 195, 64
HSL
45.17°, 83.65%, 59.22%
OKLCH
0.83 0.15 89.99
Names
—
Lists

Codes

FormatValue
HEX#eec340
RGBrgb(238 195 64)
HSLhsl(45.17 83.65% 59.22%)
OKLCHoklch(0.83 0.15 89.99)
CMYKcmyk(0% 18.07% 73.11% 6.67%)
Android#ffeec340

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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