Skip to content
Vectorlight.net

#22271a

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

HEX
#22271a
RGB
34, 39, 26
HSL
83.08°, 20%, 12.75%
OKLCH
0.26 0.02 125.12
Names
—
Lists

Codes

FormatValue
HEX#22271a
RGBrgb(34 39 26)
HSLhsl(83.08 20% 12.75%)
OKLCHoklch(0.26 0.02 125.12)
CMYKcmyk(12.82% 0% 33.33% 84.71%)
Android#ff22271a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #22271a;
background-color: #22271a;
bg-[#22271a]