Skip to content
Vectorlight.net

#4ec102

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

HEX
#4ec102
RGB
78, 193, 2
HSL
96.13°, 97.95%, 38.24%
OKLCH
0.72 0.22 138.22
Names
—
Lists

Codes

FormatValue
HEX#4ec102
RGBrgb(78 193 2)
HSLhsl(96.13 97.95% 38.24%)
OKLCHoklch(0.72 0.22 138.22)
CMYKcmyk(59.59% 0% 98.96% 24.31%)
Android#ff4ec102

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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