#202818 color
The hex color #202818 is a very dark, desaturated green.
In the RGB color model it is made of 12.5% red, 15.7% green and 9.4% blue (32, 40, 24).
Its hue angle is 90°, with 25% saturation and 13% lightness. For print, the CMYK equivalent is 20% cyan, 0% magenta, 40% yellow and 84% black.
The closest named color is Midnight Pines (#17240B), a difference of 4.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.24:1).
#202818 color codes
| HEX | #202818 | |
|---|---|---|
| RGB | rgb(32, 40, 24) | |
| RGB percent | rgb(12.5%, 15.7%, 9.4%) | |
| HSL | hsl(90, 25%, 13%) | |
| HSV / HSB | hsv(90, 40%, 16%) | |
| CMYK | cmyk(20%, 0%, 40%, 84%) | |
| CIE LAB | lab(14.9, -7.25, 9.41) | |
| CIE LCH | lch(14.9, 11.88, 127.59) | |
| CIE XYZ | xyz(1.519, 1.891, 1.149) | |
| Decimal | 2107416 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #202818, 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 #202818 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.38:1 | Fail | Fail | Fail |
| Sample text | 15.24:1 | Pass | Pass | Pass |
| #202818 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 #202818 looks to people with the most common types of color vision deficiency.
#2a2617Protanopia
no red cones#282519Deuteranopia
no green cones#212724Tritanopia
no blue cones#252525Achromatopsia
no color vision
CSS examples
.background { background-color: #202818; }
.text { color: #202818; }
.border { border: 2px solid #202818; }
.transparent { background-color: rgb(32 40 24 / 50%); }
.gradient { background: linear-gradient(to right, #202818, #182818); }
Similar colors
#17240bMidnight Pines#112211Nightmare#1e231cUnderworld#2b2e26Marshland#172808Lindworm Green#2b322dTerminal Black#091101Memorial Black#223311Darkest Forest
Closest common color name: Onyx.
Questions
- What color is #202818?
- #202818 is a very dark, desaturated green, closest to the named color Midnight Pines. It belongs to the black family of colors.
- What is the RGB value of #202818?
- The RGB value is 32, 40, 24: 32 red, 40 green and 24 blue on a 0 to 255 scale.
- What is the complementary color of #202818?
- The complementary color is #201828, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #202818?
- 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.