#212118 color
The hex color #212118 is a very dark, grayish yellow.
In the RGB color model it is made of 12.9% red, 12.9% green and 9.4% blue (33, 33, 24).
Its hue angle is 60°, with 16% saturation and 11% lightness. For print, the CMYK equivalent is 0% cyan, 0% magenta, 27% yellow and 87% black.
The closest named color is Underworld (#1E231C), a difference of 3.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.21:1).
#212118 color codes
| HEX | #212118 | |
|---|---|---|
| RGB | rgb(33, 33, 24) | |
| RGB percent | rgb(12.9%, 12.9%, 9.4%) | |
| HSL | hsl(60, 16%, 11%) | |
| HSV / HSB | hsv(60, 27%, 13%) | |
| CMYK | cmyk(0%, 0%, 27%, 87%) | |
| CIE LAB | lab(12.46, -2.01, 6.12) | |
| CIE LCH | lch(12.46, 6.44, 108.21) | |
| CIE XYZ | xyz(1.336, 1.477, 1.079) | |
| Decimal | 2171160 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #212118, 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 #212118 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.3:1 | Fail | Fail | Fail |
| Sample text | 16.21:1 | Pass | Pass | Pass |
| #212118 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.21:1 | Pass | Pass | Pass |
| Sample text | 1.3: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 #212118 looks to people with the most common types of color vision deficiency.
#232017Protanopia
no red cones#232118Deuteranopia
no green cones#22201fTritanopia
no blue cones#202020Achromatopsia
no color vision
CSS examples
.background { background-color: #212118; }
.text { color: #212118; }
.border { border: 2px solid #212118; }
.transparent { background-color: rgb(33 33 24 / 50%); }
.gradient { background: linear-gradient(to right, #212118, #1d2118); }
Similar colors
#1e231cUnderworld#2b2e26Marshland#191916Twilight Zone#1c1c1aCoco’s Black#262926Bitter Liquorice#1f180aNoir Mystique#161410King Kong#1b150dSoulless
Closest common color name: Off Black.
Questions
- What color is #212118?
- #212118 is a very dark, grayish yellow, closest to the named color Underworld. It belongs to the black family of colors.
- What is the RGB value of #212118?
- The RGB value is 33, 33, 24: 33 red, 33 green and 24 blue on a 0 to 255 scale.
- What is the complementary color of #212118?
- The complementary color is #181821, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #212118?
- White text. Black text has a contrast ratio of 1.3:1 and white text 16.21:1. WCAG asks for at least 4.5:1 for normal text.