#212815 color
The hex color #212815 is a very dark, desaturated yellow-green.
In the RGB color model it is made of 12.9% red, 15.7% green and 8.2% blue (33, 40, 21).
Its hue angle is 82°, with 31% saturation and 12% lightness. For print, the CMYK equivalent is 18% cyan, 0% magenta, 47% yellow and 84% black.
The closest named color is Midnight Pines (#17240B), a difference of 3.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.23:1).
#212815 color codes
| HEX | #212815 | |
|---|---|---|
| RGB | rgb(33, 40, 21) | |
| RGB percent | rgb(12.9%, 15.7%, 8.2%) | |
| HSL | hsl(82, 31%, 12%) | |
| HSV / HSB | hsv(82, 48%, 16%) | |
| CMYK | cmyk(18%, 0%, 47%, 84%) | |
| CIE LAB | lab(14.93, -7.3, 11.51) | |
| CIE LCH | lch(14.93, 13.63, 122.37) | |
| CIE XYZ | xyz(1.521, 1.895, 0.995) | |
| Decimal | 2172949 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #212815, 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 #212815 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.38:1 | Fail | Fail | Fail |
| Sample text | 15.23:1 | Pass | Pass | Pass |
| #212815 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.23:1 | Pass | Pass | Pass |
| Sample text | 1.38: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 #212815 looks to people with the most common types of color vision deficiency.
#2a2614Protanopia
no red cones#292516Deuteranopia
no green cones#222623Tritanopia
no blue cones#262626Achromatopsia
no color vision
CSS examples
.background { background-color: #212815; }
.text { color: #212815; }
.border { border: 2px solid #212815; }
.transparent { background-color: rgb(33 40 21 / 50%); }
.gradient { background: linear-gradient(to right, #212815, #172815); }
Similar colors
#17240bMidnight Pines#112211Nightmare#172808Lindworm Green#1e231cUnderworld#2b2e26Marshland#223311Darkest Forest#2b322dTerminal Black#091101Memorial Black
Closest common color name: Onyx.
Questions
- What color is #212815?
- #212815 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 #212815?
- The RGB value is 33, 40, 21: 33 red, 40 green and 21 blue on a 0 to 255 scale.
- What is the complementary color of #212815?
- The complementary color is #1C1528, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #212815?
- White text. Black text has a contrast ratio of 1.38:1 and white text 15.23:1. WCAG asks for at least 4.5:1 for normal text.