#212B16 color
The hex color #212B16 is a very dark, desaturated yellow-green.
In the RGB color model it is made of 12.9% red, 16.9% green and 8.6% blue (33, 43, 22).
Its hue angle is 89°, with 32% saturation and 13% lightness. For print, the CMYK equivalent is 23% cyan, 0% magenta, 49% yellow and 83% black.
The closest named color is Midnight Pines (#17240B), a difference of 3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.77:1).
#212B16 color codes
| HEX | #212B16 | |
|---|---|---|
| RGB | rgb(33, 43, 22) | |
| RGB percent | rgb(12.9%, 16.9%, 8.6%) | |
| HSL | hsl(89, 32%, 13%) | |
| HSV / HSB | hsv(89, 49%, 17%) | |
| CMYK | cmyk(23%, 0%, 49%, 83%) | |
| CIE LAB | lab(16.05, -9.05, 12.29) | |
| CIE LCH | lch(16.05, 15.26, 126.37) | |
| CIE XYZ | xyz(1.636, 2.109, 1.08) | |
| Decimal | 2173718 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #212B16, 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 #212B16 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.42:1 | Fail | Fail | Fail |
| Sample text | 14.77:1 | Pass | Pass | Pass |
| #212B16 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.77:1 | Pass | Pass | Pass |
| Sample text | 1.42: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 #212B16 looks to people with the most common types of color vision deficiency.
#2d2814Protanopia
no red cones#2b2817Deuteranopia
no green cones#222926Tritanopia
no blue cones#282828Achromatopsia
no color vision
CSS examples
.background { background-color: #212b16; }
.text { color: #212b16; }
.border { border: 2px solid #212b16; }
.transparent { background-color: rgb(33 43 22 / 50%); }
.gradient { background: linear-gradient(to right, #212b16, #172b16); }
Similar colors
#17240bMidnight Pines#172808Lindworm Green#112211Nightmare#223311Darkest Forest#1e231cUnderworld#2b2e26Marshland#113311Dark Serpent#2b322dTerminal Black
Closest common color name: Onyx.
Questions
- What color is #212B16?
- #212B16 is a very dark, desaturated yellow-green, closest to the named color Midnight Pines. It belongs to the green family of colors.
- What is the RGB value of #212B16?
- The RGB value is 33, 43, 22: 33 red, 43 green and 22 blue on a 0 to 255 scale.
- What is the complementary color of #212B16?
- The complementary color is #20162B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #212B16?
- White text. Black text has a contrast ratio of 1.42:1 and white text 14.77:1. WCAG asks for at least 4.5:1 for normal text.