#222317 color
The hex color #222317 is a very dark, grayish yellow.
In the RGB color model it is made of 13.3% red, 13.7% green and 9% blue (34, 35, 23).
Its hue angle is 65°, with 21% saturation and 11% lightness. For print, the CMYK equivalent is 3% cyan, 0% magenta, 34% yellow and 86% black.
The closest named color is Underworld (#1E231C), a difference of 3.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.9:1).
#222317 color codes
| HEX | #222317 | |
|---|---|---|
| RGB | rgb(34, 35, 23) | |
| RGB percent | rgb(13.3%, 13.7%, 9%) | |
| HSL | hsl(65, 21%, 11%) | |
| HSV / HSB | hsv(65, 34%, 14%) | |
| CMYK | cmyk(3%, 0%, 34%, 86%) | |
| CIE LAB | lab(13.25, -3.09, 7.93) | |
| CIE LCH | lch(13.25, 8.51, 111.26) | |
| CIE XYZ | xyz(1.415, 1.604, 1.045) | |
| Decimal | 2237207 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #222317, 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 #222317 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.32:1 | Fail | Fail | Fail |
| Sample text | 15.9:1 | Pass | Pass | Pass |
| #222317 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.9:1 | Pass | Pass | Pass |
| Sample text | 1.32: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 #222317 looks to people with the most common types of color vision deficiency.
#252216Protanopia
no red cones#252217Deuteranopia
no green cones#242220Tritanopia
no blue cones#222222Achromatopsia
no color vision
CSS examples
.background { background-color: #222317; }
.text { color: #222317; }
.border { border: 2px solid #222317; }
.transparent { background-color: rgb(34 35 23 / 50%); }
.gradient { background: linear-gradient(to right, #222317, #1c2317); }
Similar colors
#1e231cUnderworld#2b2e26Marshland#262926Bitter Liquorice#191916Twilight Zone#091101Memorial Black#1f180aNoir Mystique#1c1c1aCoco’s Black#2b322dTerminal Black
Closest common color name: Onyx.
Questions
- What color is #222317?
- #222317 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 #222317?
- The RGB value is 34, 35, 23: 34 red, 35 green and 23 blue on a 0 to 255 scale.
- What is the complementary color of #222317?
- The complementary color is #181723, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #222317?
- White text. Black text has a contrast ratio of 1.32:1 and white text 15.9:1. WCAG asks for at least 4.5:1 for normal text.