#222012 color
The hex color #222012 is a very dark, desaturated yellow.
In the RGB color model it is made of 13.3% red, 12.5% green and 7.1% blue (34, 32, 18).
Its hue angle is 53°, with 31% saturation and 10% lightness. For print, the CMYK equivalent is 0% cyan, 6% magenta, 47% yellow and 87% black.
The closest named color is Noir Mystique (#1F180A), a difference of 4.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.36:1).
#222012 color codes
| HEX | #222012 | |
|---|---|---|
| RGB | rgb(34, 32, 18) | |
| RGB percent | rgb(13.3%, 12.5%, 7.1%) | |
| HSL | hsl(53, 31%, 10%) | |
| HSV / HSB | hsv(53, 47%, 13%) | |
| CMYK | cmyk(0%, 6%, 47%, 87%) | |
| CIE LAB | lab(12.07, -1.86, 9.68) | |
| CIE LCH | lch(12.07, 9.86, 100.89) | |
| CIE XYZ | xyz(1.285, 1.417, 0.778) | |
| Decimal | 2236434 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #222012, 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 #222012 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.28:1 | Fail | Fail | Fail |
| Sample text | 16.36:1 | Pass | Pass | Pass |
| #222012 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.36:1 | Pass | Pass | Pass |
| Sample text | 1.28: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 #222012 looks to people with the most common types of color vision deficiency.
#231f11Protanopia
no red cones#232013Deuteranopia
no green cones#241e1cTritanopia
no blue cones#202020Achromatopsia
no color vision
CSS examples
.background { background-color: #222012; }
.text { color: #222012; }
.border { border: 2px solid #222012; }
.transparent { background-color: rgb(34 32 18 / 50%); }
.gradient { background: linear-gradient(to right, #222012, #1c2212); }
Similar colors
#1f180aNoir Mystique#1e231cUnderworld#2b2e26Marshland#1b150dSoulless#191916Twilight Zone#1c1c1aCoco’s Black#161410King Kong#091101Memorial Black
Closest common color name: Off Black.
Questions
- What color is #222012?
- #222012 is a very dark, desaturated yellow, closest to the named color Noir Mystique. It belongs to the black family of colors.
- What is the RGB value of #222012?
- The RGB value is 34, 32, 18: 34 red, 32 green and 18 blue on a 0 to 255 scale.
- What is the complementary color of #222012?
- The complementary color is #121422, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #222012?
- White text. Black text has a contrast ratio of 1.28:1 and white text 16.36:1. WCAG asks for at least 4.5:1 for normal text.