#162812 color
The hex color #162812 is a very dark, desaturated green.
In the RGB color model it is made of 8.6% red, 15.7% green and 7.1% blue (22, 40, 18).
Its hue angle is 109°, with 38% saturation and 11% lightness. For print, the CMYK equivalent is 45% cyan, 0% magenta, 55% yellow and 84% black.
The closest named color is Midnight Pines (#17240B), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.6:1).
#162812 color codes
| HEX | #162812 | |
|---|---|---|
| RGB | rgb(22, 40, 18) | |
| RGB percent | rgb(8.6%, 15.7%, 7.1%) | |
| HSL | hsl(109, 38%, 11%) | |
| HSV / HSB | hsv(109, 55%, 16%) | |
| CMYK | cmyk(45%, 0%, 55%, 84%) | |
| CIE LAB | lab(14.01, -12.97, 12.1) | |
| CIE LCH | lch(14.01, 17.74, 137) | |
| CIE XYZ | xyz(1.199, 1.732, 0.843) | |
| Decimal | 1452050 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #162812, 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 #162812 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.35:1 | Fail | Fail | Fail |
| Sample text | 15.6:1 | Pass | Pass | Pass |
| #162812 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.6:1 | Pass | Pass | Pass |
| Sample text | 1.35: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 #162812 looks to people with the most common types of color vision deficiency.
#292510Protanopia
no red cones#262313Deuteranopia
no green cones#152723Tritanopia
no blue cones#242424Achromatopsia
no color vision
CSS examples
.background { background-color: #162812; }
.text { color: #162812; }
.border { border: 2px solid #162812; }
.transparent { background-color: rgb(22 40 18 / 50%); }
.gradient { background: linear-gradient(to right, #162812, #122819); }
Similar colors
#17240bMidnight Pines#112211Nightmare#172808Lindworm Green#223311Darkest Forest#113311Dark Serpent#032e0eHaunted Forest#002d04PCB Green#003311Haunted Hills
Closest common color name: British Racing Green.
Questions
- What color is #162812?
- #162812 is a very dark, desaturated green, closest to the named color Midnight Pines. It belongs to the green family of colors.
- What is the RGB value of #162812?
- The RGB value is 22, 40, 18: 22 red, 40 green and 18 blue on a 0 to 255 scale.
- What is the complementary color of #162812?
- The complementary color is #241228, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #162812?
- White text. Black text has a contrast ratio of 1.35:1 and white text 15.6:1. WCAG asks for at least 4.5:1 for normal text.