Skip to content
Vectorlight.net

#2f8d71

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

HEX
#2f8d71
RGB
47, 141, 113
HSL
162.13°, 50%, 36.86%
OKLCH
0.58 0.1 169.52
Names
—
Lists

Codes

FormatValue
HEX#2f8d71
RGBrgb(47 141 113)
HSLhsl(162.13 50% 36.86%)
OKLCHoklch(0.58 0.1 169.52)
CMYKcmyk(66.67% 0% 19.86% 44.71%)
Android#ff2f8d71

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #2f8d71;
background-color: #2f8d71;
bg-[#2f8d71]