Skip to content
Vectorlight.net

#18aa2a

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

HEX
#18aa2a
RGB
24, 170, 42
HSL
127.4°, 75.26%, 38.04%
OKLCH
0.64 0.2 143.95
Names
—
Lists

Codes

FormatValue
HEX#18aa2a
RGBrgb(24 170 42)
HSLhsl(127.4 75.26% 38.04%)
OKLCHoklch(0.64 0.2 143.95)
CMYKcmyk(85.88% 0% 75.29% 33.33%)
Android#ff18aa2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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