#222517 color
The hex color #222517 is a very dark, grayish yellow-green.
In the RGB color model it is made of 13.3% red, 14.5% green and 9% blue (34, 37, 23).
Its hue angle is 73°, with 23% saturation and 12% lightness. For print, the CMYK equivalent is 8% cyan, 0% magenta, 38% yellow and 85% 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 15.61:1).
#222517 color codes
| HEX | #222517 | |
|---|---|---|
| RGB | rgb(34, 37, 23) | |
| RGB percent | rgb(13.3%, 14.5%, 9%) | |
| HSL | hsl(73, 23%, 12%) | |
| HSV / HSB | hsv(73, 38%, 15%) | |
| CMYK | cmyk(8%, 0%, 38%, 85%) | |
| CIE LAB | lab(13.97, -4.45, 8.9) | |
| CIE LCH | lch(13.97, 9.95, 116.59) | |
| CIE XYZ | xyz(1.476, 1.725, 1.066) | |
| Decimal | 2237719 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #222517, 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 #222517 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.35:1 | Fail | Fail | Fail |
| Sample text | 15.61:1 | Pass | Pass | Pass |
| #222517 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.61: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 #222517 looks to people with the most common types of color vision deficiency.
#272416Protanopia
no red cones#272418Deuteranopia
no green cones#232421Tritanopia
no blue cones#242424Achromatopsia
no color vision
CSS examples
.background { background-color: #222517; }
.text { color: #222517; }
.border { border: 2px solid #222517; }
.transparent { background-color: rgb(34 37 23 / 50%); }
.gradient { background: linear-gradient(to right, #222517, #1b2517); }
Similar colors
#1e231cUnderworld#2b2e26Marshland#262926Bitter Liquorice#091101Memorial Black#17240bMidnight Pines#2b322dTerminal Black#112211Nightmare#191916Twilight Zone
Closest common color name: Onyx.
Questions
- What color is #222517?
- #222517 is a very dark, grayish yellow-green, closest to the named color Underworld. It belongs to the black family of colors.
- What is the RGB value of #222517?
- The RGB value is 34, 37, 23: 34 red, 37 green and 23 blue on a 0 to 255 scale.
- What is the complementary color of #222517?
- The complementary color is #1A1725, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #222517?
- White text. Black text has a contrast ratio of 1.35:1 and white text 15.61:1. WCAG asks for at least 4.5:1 for normal text.