Skip to content
Vectorlight.net

#21e797

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

HEX
#21e797
RGB
33, 231, 151
HSL
155.76°, 80.49%, 51.76%
OKLCH
0.82 0.18 158.78
Names
—
Lists

Codes

FormatValue
HEX#21e797
RGBrgb(33 231 151)
HSLhsl(155.76 80.49% 51.76%)
OKLCHoklch(0.82 0.18 158.78)
CMYKcmyk(85.71% 0% 34.63% 9.41%)
Android#ff21e797

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #21e797;
background-color: #21e797;
bg-[#21e797]