Skip to content
Vectorlight.net

#21891f

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

HEX
#21891f
RGB
33, 137, 31
HSL
118.87°, 63.1%, 32.94%
OKLCH
0.55 0.17 142.66
Names
—
Lists

Codes

FormatValue
HEX#21891f
RGBrgb(33 137 31)
HSLhsl(118.87 63.1% 32.94%)
OKLCHoklch(0.55 0.17 142.66)
CMYKcmyk(75.91% 0% 77.37% 46.27%)
Android#ff21891f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #21891f;
background-color: #21891f;
bg-[#21891f]