Skip to content
Vectorlight.net

#18804f

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

HEX
#18804f
RGB
24, 128, 79
HSL
151.73°, 68.42%, 29.8%
OKLCH
0.53 0.12 156.75
Names
—
Lists

Codes

FormatValue
HEX#18804f
RGBrgb(24 128 79)
HSLhsl(151.73 68.42% 29.8%)
OKLCHoklch(0.53 0.12 156.75)
CMYKcmyk(81.25% 0% 38.28% 49.8%)
Android#ff18804f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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