Skip to content
Vectorlight.net

#21291e

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

HEX
#21291e
RGB
33, 41, 30
HSL
103.64°, 15.49%, 13.92%
OKLCH
0.27 0.02 137.22
Names
—
Lists

Codes

FormatValue
HEX#21291e
RGBrgb(33 41 30)
HSLhsl(103.64 15.49% 13.92%)
OKLCHoklch(0.27 0.02 137.22)
CMYKcmyk(19.51% 0% 26.83% 83.92%)
Android#ff21291e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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