#222118 color
The hex color #222118 is a very dark, grayish yellow.
In the RGB color model it is made of 13.3% red, 12.9% green and 9.4% blue (34, 33, 24).
Its hue angle is 54°, with 17% saturation and 11% lightness. For print, the CMYK equivalent is 0% cyan, 3% magenta, 29% yellow and 87% black.
The closest named color is Underworld (#1E231C), a difference of 3.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.17:1).
#222118 color codes
| HEX | #222118 | |
|---|---|---|
| RGB | rgb(34, 33, 24) | |
| RGB percent | rgb(13.3%, 12.9%, 9.4%) | |
| HSL | hsl(54, 17%, 11%) | |
| HSV / HSB | hsv(54, 29%, 13%) | |
| CMYK | cmyk(0%, 3%, 29%, 87%) | |
| CIE LAB | lab(12.57, -1.5, 6.28) | |
| CIE LCH | lch(12.57, 6.46, 103.46) | |
| CIE XYZ | xyz(1.368, 1.494, 1.08) | |
| Decimal | 2236696 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #222118, 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 #222118 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.3:1 | Fail | Fail | Fail |
| Sample text | 16.17:1 | Pass | Pass | Pass |
| #222118 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.17:1 | Pass | Pass | Pass |
| Sample text | 1.3: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 #222118 looks to people with the most common types of color vision deficiency.
#232017Protanopia
no red cones#232118Deuteranopia
no green cones#24201fTritanopia
no blue cones#212121Achromatopsia
no color vision
CSS examples
.background { background-color: #222118; }
.text { color: #222118; }
.border { border: 2px solid #222118; }
.transparent { background-color: rgb(34 33 24 / 50%); }
.gradient { background: linear-gradient(to right, #222118, #1e2218); }
Similar colors
#1e231cUnderworld#191916Twilight Zone#1c1c1aCoco’s Black#2b2e26Marshland#1f180aNoir Mystique#262926Bitter Liquorice#161410King Kong#1b150dSoulless
Closest common color name: Off Black.
Questions
- What color is #222118?
- #222118 is a very dark, grayish yellow, closest to the named color Underworld. It belongs to the black family of colors.
- What is the RGB value of #222118?
- The RGB value is 34, 33, 24: 34 red, 33 green and 24 blue on a 0 to 255 scale.
- What is the complementary color of #222118?
- The complementary color is #181922, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #222118?
- White text. Black text has a contrast ratio of 1.3:1 and white text 16.17:1. WCAG asks for at least 4.5:1 for normal text.