Skip to content
Vectorlight.net

#178c31

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

HEX
#178c31
RGB
23, 140, 49
HSL
133.33°, 71.78%, 31.96%
OKLCH
0.56 0.16 145.96
Names
—
Lists

Codes

FormatValue
HEX#178c31
RGBrgb(23 140 49)
HSLhsl(133.33 71.78% 31.96%)
OKLCHoklch(0.56 0.16 145.96)
CMYKcmyk(83.57% 0% 65% 45.1%)
Android#ff178c31

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

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

Recolor an SVG with this color

CSS

color / background
color: #178c31;
background-color: #178c31;
bg-[#178c31]