Skip to content
Vectorlight.net

#4cb318

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

HEX
#4cb318
RGB
76, 179, 24
HSL
99.87°, 76.35%, 39.8%
OKLCH
0.68 0.2 138.3
Names
—
Lists

Codes

FormatValue
HEX#4cb318
RGBrgb(76 179 24)
HSLhsl(99.87 76.35% 39.8%)
OKLCHoklch(0.68 0.2 138.3)
CMYKcmyk(57.54% 0% 86.59% 29.8%)
Android#ff4cb318

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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