Skip to content
Vectorlight.net

#18804c

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

HEX
#18804c
RGB
24, 128, 76
HSL
150°, 68.42%, 29.8%
OKLCH
0.53 0.12 155.38
Names
—
Lists

Codes

FormatValue
HEX#18804c
RGBrgb(24 128 76)
HSLhsl(150 68.42% 29.8%)
OKLCHoklch(0.53 0.12 155.38)
CMYKcmyk(81.25% 0% 40.63% 49.8%)
Android#ff18804c

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.96:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.23:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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

Recolor an SVG with this color

CSS

color / background
color: #18804c;
background-color: #18804c;
bg-[#18804c]