Skip to content
Vectorlight.net

#18741b

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

HEX
#18741b
RGB
24, 116, 27
HSL
121.96°, 65.71%, 27.45%
OKLCH
0.49 0.15 143.23
Names
—
Lists

Codes

FormatValue
HEX#18741b
RGBrgb(24 116 27)
HSLhsl(121.96 65.71% 27.45%)
OKLCHoklch(0.49 0.15 143.23)
CMYKcmyk(79.31% 0% 76.72% 54.51%)
Android#ff18741b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #18741b;
background-color: #18741b;
bg-[#18741b]