Skip to content
Vectorlight.net

#21502f

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

HEX
#21502f
RGB
33, 80, 47
HSL
137.87°, 41.59%, 22.16%
OKLCH
0.39 0.08 151.1
Names
—
Lists

Codes

FormatValue
HEX#21502f
RGBrgb(33 80 47)
HSLhsl(137.87 41.59% 22.16%)
OKLCHoklch(0.39 0.08 151.1)
CMYKcmyk(58.75% 0% 41.25% 68.63%)
Android#ff21502f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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