Skip to content
Vectorlight.net

#4caf50

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

HEX
#4caf50
RGB
76, 175, 80
HSL
122.42°, 39.44%, 49.22%
OKLCH
0.67 0.16 144.21
Names
—
Lists

Codes

FormatValue
HEX#4caf50
RGBrgb(76 175 80)
HSLhsl(122.42 39.44% 49.22%)
OKLCHoklch(0.67 0.16 144.21)
CMYKcmyk(56.57% 0% 54.29% 31.37%)
Android#ff4caf50

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.55: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="#4caf50"
Gradient stop
<stop stop-color="#4caf50"/>
CSS variable + fill
:root { --c: #4caf50; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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