#212B1D color
The hex color #212B1D is a very dark, grayish green.
In the RGB color model it is made of 12.9% red, 16.9% green and 11.4% blue (33, 43, 29).
Its hue angle is 103°, with 19% saturation and 14% lightness. For print, the CMYK equivalent is 23% cyan, 0% magenta, 33% yellow and 83% black.
The closest named color is Nightmare (#112211), a difference of 4.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.71:1).
#212B1D color codes
| HEX | #212B1D | |
|---|---|---|
| RGB | rgb(33, 43, 29) | |
| RGB percent | rgb(12.9%, 16.9%, 11.4%) | |
| HSL | hsl(103, 19%, 14%) | |
| HSV / HSB | hsv(103, 33%, 17%) | |
| CMYK | cmyk(23%, 0%, 33%, 83%) | |
| CIE LAB | lab(16.2, -7.72, 7.74) | |
| CIE LCH | lch(16.2, 10.94, 134.94) | |
| CIE XYZ | xyz(1.713, 2.14, 1.485) | |
| Decimal | 2173725 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #212B1D, 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 #212B1D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.43:1 | Fail | Fail | Fail |
| Sample text | 14.71:1 | Pass | Pass | Pass |
| #212B1D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.71:1 | Pass | Pass | Pass |
| Sample text | 1.43:1 | Fail | Fail | Fail |
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 #212B1D looks to people with the most common types of color vision deficiency.
#2c291cProtanopia
no red cones#2a281eDeuteranopia
no green cones#212a27Tritanopia
no blue cones#282828Achromatopsia
no color vision
CSS examples
.background { background-color: #212b1d; }
.text { color: #212b1d; }
.border { border: 2px solid #212b1d; }
.transparent { background-color: rgb(33 43 29 / 50%); }
.gradient { background: linear-gradient(to right, #212b1d, #1d2b20); }
Similar colors
#112211Nightmare#1e231cUnderworld#17240bMidnight Pines#2b2e26Marshland#2b322dTerminal Black#162825Swamp Thing#172808Lindworm Green#293432Aztec
Closest common color name: Onyx.
Questions
- What color is #212B1D?
- #212B1D is a very dark, grayish green, closest to the named color Nightmare. It belongs to the black family of colors.
- What is the RGB value of #212B1D?
- The RGB value is 33, 43, 29: 33 red, 43 green and 29 blue on a 0 to 255 scale.
- What is the complementary color of #212B1D?
- The complementary color is #271D2B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #212B1D?
- White text. Black text has a contrast ratio of 1.43:1 and white text 14.71:1. WCAG asks for at least 4.5:1 for normal text.