Skip to content
Kolorvia
#21271e

Color #21271e

A nearly neutral, gray-leaning very dark green.

Conversions

HEX
#21271e
RGB
rgb(33, 39, 30)
HSL
hsl(100, 13%, 13.5%)
HSV / HSB
hsv(100, 23.1%, 15.3%)
CMYK
cmyk(15.4%, 0%, 23.1%, 84.7%)
LAB
lab(14.78, -4.87, 5.07)
LCH
lch(14.78, 7.03, 133.85)
OKLCH
oklch(26.4%, 0.0185, 135.22)
HWB
hwb(100, 11.8%, 84.7%)

Harmony colors

Complementary

#241e27

Analogous

#25271e
#21271e
#1e271f

Triadic

#21271e
#1e2127
#271e21

Split-complementary

#21271e
#1f1e27
#271e25

Tetradic

#21271e
#1e2724
#241e27
#271e21

Square

#21271e
#1e2527
#241e27
#271f1e

Shades

Color #21271e mixed toward black.

#1b2019
#161a14
#10130f
#0b0d0a
#050605

Tints

Color #21271e mixed toward white.

#44503e
#677a5e
#8c9f82
#b2bfac
#d9dfd5

Tones

Color #21271e mixed toward gray.

#21261f
#21251f
#222520
#222421
#222322

Accessibility

Aa White text on this color
15.29:1
Aa Black text on this color
1.37:1

White text reads better on this background (15.29:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#242420 · ΔE 5.1

Deuteranopia

#232321 · ΔE 6.2

Tritanopia

#212223 · ΔE 7.8

Achromatopsia

#252525 · ΔE 7.4

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #21271e;
Tailwind (arbitrary value)
bg-[#21271e]

Related colors

Lawn Green #7cfc00
Chartreuse #7fff00
Green Yellow #adff2f
Dark Olive Green #556b2f
Forest Green #228b22
Mint Green #98ff98

Frequently asked questions

#21271e (#21271e) is rgb(33, 39, 30) in RGB.

No, #21271e is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #21271e, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.