Skip to content
Vectorlight.net

#21852e

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

HEX
#21852e
RGB
33, 133, 46
HSL
127.8°, 60.24%, 32.55%
OKLCH
0.54 0.15 144.9
Names
—
Lists

Codes

FormatValue
HEX#21852e
RGBrgb(33 133 46)
HSLhsl(127.8 60.24% 32.55%)
OKLCHoklch(0.54 0.15 144.9)
CMYKcmyk(75.19% 0% 65.41% 47.84%)
Android#ff21852e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #21852e;
background-color: #21852e;
bg-[#21852e]