#21311E color
The hex color #21311E is a very dark, grayish green.
In the RGB color model it is made of 12.9% red, 19.2% green and 11.8% blue (33, 49, 30).
Its hue angle is 111°, with 24% saturation and 15% lightness. For print, the CMYK equivalent is 33% cyan, 0% magenta, 39% yellow and 81% black.
The closest named color is Midnight Pines (#17240B), a difference of 4.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.79:1).
#21311E color codes
| HEX | #21311E | |
|---|---|---|
| RGB | rgb(33, 49, 30) | |
| RGB percent | rgb(12.9%, 19.2%, 11.8%) | |
| HSL | hsl(111, 24%, 15%) | |
| HSV / HSB | hsv(111, 39%, 19%) | |
| CMYK | cmyk(33%, 0%, 39%, 81%) | |
| CIE LAB | lab(18.42, -11.28, 10.07) | |
| CIE LCH | lch(18.42, 15.12, 138.24) | |
| CIE XYZ | xyz(1.96, 2.614, 1.629) | |
| Decimal | 2175262 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #21311E, 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 #21311E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.52:1 | Fail | Fail | Fail |
| Sample text | 13.79:1 | Pass | Pass | Pass |
| #21311E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.79:1 | Pass | Pass | Pass |
| Sample text | 1.52: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 #21311E looks to people with the most common types of color vision deficiency.
#322e1dProtanopia
no red cones#302c1fDeuteranopia
no green cones#20302cTritanopia
no blue cones#2d2d2dAchromatopsia
no color vision
CSS examples
.background { background-color: #21311e; }
.text { color: #21311e; }
.border { border: 2px solid #21311e; }
.transparent { background-color: rgb(33 49 30 / 50%); }
.gradient { background: linear-gradient(to right, #21311e, #1e3125); }
Similar colors
#17240bMidnight Pines#112211Nightmare#172808Lindworm Green#223311Darkest Forest#113311Dark Serpent#264334Everglade#36482fPalm Leaf#1c401fQueen of Trees
Closest common color name: British Racing Green.
Questions
- What color is #21311E?
- #21311E is a very dark, grayish green, closest to the named color Midnight Pines. It belongs to the green family of colors.
- What is the RGB value of #21311E?
- The RGB value is 33, 49, 30: 33 red, 49 green and 30 blue on a 0 to 255 scale.
- What is the complementary color of #21311E?
- The complementary color is #2E1E31, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #21311E?
- White text. Black text has a contrast ratio of 1.52:1 and white text 13.79:1. WCAG asks for at least 4.5:1 for normal text.