Skip to content
Vectorlight.net

#17871f

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

HEX
#17871f
RGB
23, 135, 31
HSL
124.29°, 70.89%, 30.98%
OKLCH
0.54 0.17 143.52
Names
—
Lists

Codes

FormatValue
HEX#17871f
RGBrgb(23 135 31)
HSLhsl(124.29 70.89% 30.98%)
OKLCHoklch(0.54 0.17 143.52)
CMYKcmyk(82.96% 0% 77.04% 47.06%)
Android#ff17871f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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