Skip to content
Vectorlight.net

#217f2a

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

HEX
#217f2a
RGB
33, 127, 42
HSL
125.74°, 58.75%, 31.37%
OKLCH
0.52 0.15 144.39
Names
—
Lists

Codes

FormatValue
HEX#217f2a
RGBrgb(33 127 42)
HSLhsl(125.74 58.75% 31.37%)
OKLCHoklch(0.52 0.15 144.39)
CMYKcmyk(74.02% 0% 66.93% 50.2%)
Android#ff217f2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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