Skip to content
Vectorlight.net

#18cb2b

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

HEX
#18cb2b
RGB
24, 203, 43
HSL
126.37°, 78.85%, 44.51%
OKLCH
0.73 0.23 143.53
Names
—
Lists

Codes

FormatValue
HEX#18cb2b
RGBrgb(24 203 43)
HSLhsl(126.37 78.85% 44.51%)
OKLCHoklch(0.73 0.23 143.53)
CMYKcmyk(88.18% 0% 78.82% 20.39%)
Android#ff18cb2b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #18cb2b;
background-color: #18cb2b;
bg-[#18cb2b]