Skip to content
Vectorlight.net

#217f2f

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

HEX
#217f2f
RGB
33, 127, 47
HSL
128.94°, 58.75%, 31.37%
OKLCH
0.52 0.14 145.37
Names
—
Lists

Codes

FormatValue
HEX#217f2f
RGBrgb(33 127 47)
HSLhsl(128.94 58.75% 31.37%)
OKLCHoklch(0.52 0.14 145.37)
CMYKcmyk(74.02% 0% 62.99% 50.2%)
Android#ff217f2f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #217f2f;
background-color: #217f2f;
bg-[#217f2f]