#222B15 color
The hex color #222B15 is a very dark, desaturated yellow-green.
In the RGB color model it is made of 13.3% red, 16.9% green and 8.2% blue (34, 43, 21).
Its hue angle is 85°, with 34% saturation and 13% lightness. For print, the CMYK equivalent is 21% cyan, 0% magenta, 51% yellow and 83% black.
The closest named color is Midnight Pines (#17240B), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.74:1).
#222B15 color codes
| HEX | #222B15 | |
|---|---|---|
| RGB | rgb(34, 43, 21) | |
| RGB percent | rgb(13.3%, 16.9%, 8.2%) | |
| HSL | hsl(85, 34%, 13%) | |
| HSV / HSB | hsv(85, 51%, 17%) | |
| CMYK | cmyk(21%, 0%, 51%, 83%) | |
| CIE LAB | lab(16.11, -8.73, 13.05) | |
| CIE LCH | lch(16.11, 15.7, 123.77) | |
| CIE XYZ | xyz(1.659, 2.122, 1.032) | |
| Decimal | 2239253 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #222B15, 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 #222B15 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.42:1 | Fail | Fail | Fail |
| Sample text | 14.74:1 | Pass | Pass | Pass |
| #222B15 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.74:1 | Pass | Pass | Pass |
| Sample text | 1.42: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 #222B15 looks to people with the most common types of color vision deficiency.
#2d2813Protanopia
no red cones#2c2816Deuteranopia
no green cones#232926Tritanopia
no blue cones#282828Achromatopsia
no color vision
CSS examples
.background { background-color: #222b15; }
.text { color: #222b15; }
.border { border: 2px solid #222b15; }
.transparent { background-color: rgb(34 43 21 / 50%); }
.gradient { background: linear-gradient(to right, #222b15, #172b15); }
Similar colors
#17240bMidnight Pines#172808Lindworm Green#223311Darkest Forest#112211Nightmare#1e231cUnderworld#2b2e26Marshland#113311Dark Serpent#2b322dTerminal Black
Closest common color name: Onyx.
Questions
- What color is #222B15?
- #222B15 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 #222B15?
- The RGB value is 34, 43, 21: 34 red, 43 green and 21 blue on a 0 to 255 scale.
- What is the complementary color of #222B15?
- The complementary color is #1E152B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #222B15?
- White text. Black text has a contrast ratio of 1.42:1 and white text 14.74:1. WCAG asks for at least 4.5:1 for normal text.