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