Skip to content
Vectorlight.net

#4eaf51

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

HEX
#4eaf51
RGB
78, 175, 81
HSL
121.86°, 38.34%, 49.61%
OKLCH
0.67 0.16 144.08
Names
—
Lists

Codes

FormatValue
HEX#4eaf51
RGBrgb(78 175 81)
HSLhsl(121.86 38.34% 49.61%)
OKLCHoklch(0.67 0.16 144.08)
CMYKcmyk(55.43% 0% 53.71% 31.37%)
Android#ff4eaf51

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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