Skip to content
Vectorlight.net

#158d3e

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

HEX
#158d3e
RGB
21, 141, 62
HSL
140.5°, 74.07%, 31.76%
OKLCH
0.56 0.15 148.75
Names
—
Lists

Codes

FormatValue
HEX#158d3e
RGBrgb(21 141 62)
HSLhsl(140.5 74.07% 31.76%)
OKLCHoklch(0.56 0.15 148.75)
CMYKcmyk(85.11% 0% 56.03% 44.71%)
Android#ff158d3e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #158d3e;
background-color: #158d3e;
bg-[#158d3e]