#212A21 color

#212A21 rgb(33, 42, 33)
Shades of black

The hex color #212A21 is a very dark, grayish green.

In the RGB color model it is made of 12.9% red, 16.5% green and 12.9% blue (33, 42, 33).

Its hue angle is 120°, with 12% saturation and 15% lightness. For print, the CMYK equivalent is 21% cyan, 0% magenta, 21% yellow and 84% black.

The closest named color is Underworld (#1E231C), a difference of 3.1 ΔE, a small difference.

White text is the more readable choice on this background (contrast 14.81:1).

#212A21 color codes

HEX#212A21
RGBrgb(33, 42, 33)
RGB percentrgb(12.9%, 16.5%, 12.9%)
HSLhsl(120, 12%, 15%)
HSV / HSBhsv(120, 21%, 16%)
CMYKcmyk(21%, 0%, 21%, 84%)
CIE LABlab(15.95, -6.19, 4.6)
CIE LCHlch(15.95, 7.72, 143.37)
CIE XYZxyz(1.73, 2.089, 1.751)
Decimal2173473
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #212A21, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #212A21RatioAAAAAAA large
Sample text1.42:1FailFailFail
Sample text14.81:1PassPassPass
#212A21 as text onRatioAAAAAAA large
Sample text14.81:1PassPassPass
Sample text1.42:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #212A21 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #212a21; }
.text { color: #212a21; }
.border { border: 2px solid #212a21; }
.transparent { background-color: rgb(33 42 33 / 50%); }
.gradient { background: linear-gradient(to right, #212a21, #212a26); }
Background
Text color
Border

Similar colors

Closest common color name: Onyx.

Questions

What color is #212A21?
#212A21 is a very dark, grayish green, closest to the named color Underworld. It belongs to the black family of colors.
What is the RGB value of #212A21?
The RGB value is 33, 42, 33: 33 red, 42 green and 33 blue on a 0 to 255 scale.
What is the complementary color of #212A21?
The complementary color is #2A212A, found by rotating the hue 180° on the color wheel.
Is black or white text better on #212A21?
White text. Black text has a contrast ratio of 1.42:1 and white text 14.81:1. WCAG asks for at least 4.5:1 for normal text.