Skip to content
Vectorlight.net

#1cb040

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

HEX
#1cb040
RGB
28, 176, 64
HSL
134.59°, 72.55%, 40%
OKLCH
0.66 0.19 146.19
Names
—
Lists

Codes

FormatValue
HEX#1cb040
RGBrgb(28 176 64)
HSLhsl(134.59 72.55% 40%)
OKLCHoklch(0.66 0.19 146.19)
CMYKcmyk(84.09% 0% 63.64% 30.98%)
Android#ff1cb040

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #1cb040;
background-color: #1cb040;
bg-[#1cb040]