Skip to content
Vectorlight.net

#186e1f

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

HEX
#186e1f
RGB
24, 110, 31
HSL
124.88°, 64.18%, 26.27%
OKLCH
0.47 0.14 143.98
Names
—
Lists

Codes

FormatValue
HEX#186e1f
RGBrgb(24 110 31)
HSLhsl(124.88 64.18% 26.27%)
OKLCHoklch(0.47 0.14 143.98)
CMYKcmyk(78.18% 0% 71.82% 56.86%)
Android#ff186e1f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #186e1f;
background-color: #186e1f;
bg-[#186e1f]