Skip to content
Vectorlight.net

#4ecc1a

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

HEX
#4ecc1a
RGB
78, 204, 26
HSL
102.47°, 77.39%, 45.1%
OKLCH
0.75 0.23 139.27
Names
—
Lists

Codes

FormatValue
HEX#4ecc1a
RGBrgb(78 204 26)
HSLhsl(102.47 77.39% 45.1%)
OKLCHoklch(0.75 0.23 139.27)
CMYKcmyk(61.76% 0% 87.25% 20%)
Android#ff4ecc1a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #4ecc1a;
background-color: #4ecc1a;
bg-[#4ecc1a]