Skip to content
Vectorlight.net

#178c40

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

HEX
#178c40
RGB
23, 140, 64
HSL
141.03°, 71.78%, 31.96%
OKLCH
0.56 0.15 149.23
Names
—
Lists

Codes

FormatValue
HEX#178c40
RGBrgb(23 140 64)
HSLhsl(141.03 71.78% 31.96%)
OKLCHoklch(0.56 0.15 149.23)
CMYKcmyk(83.57% 0% 54.29% 45.1%)
Android#ff178c40

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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