#12221F color
The hex color #12221F is a very dark, desaturated spring green.
In the RGB color model it is made of 7.1% red, 13.3% green and 12.2% blue (18, 34, 31).
Its hue angle is 169°, with 31% saturation and 10% lightness. For print, the CMYK equivalent is 47% cyan, 0% magenta, 9% yellow and 87% black.
The closest named color is Swamp Thing (#162825), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.48:1).
#12221F color codes
| HEX | #12221F | |
|---|---|---|
| RGB | rgb(18, 34, 31) | |
| RGB percent | rgb(7.1%, 13.3%, 12.2%) | |
| HSL | hsl(169, 31%, 10%) | |
| HSV / HSB | hsv(169, 47%, 13%) | |
| CMYK | cmyk(47%, 0%, 9%, 87%) | |
| CIE LAB | lab(11.77, -7.67, -0.12) | |
| CIE LCH | lch(11.77, 7.67, 180.89) | |
| CIE XYZ | xyz(1.069, 1.372, 1.504) | |
| Decimal | 1188383 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #12221F, 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 #12221F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.27:1 | Fail | Fail | Fail |
| Sample text | 16.48:1 | Pass | Pass | Pass |
| #12221F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.48:1 | Pass | Pass | Pass |
| Sample text | 1.27: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 #12221F looks to people with the most common types of color vision deficiency.
#21201fProtanopia
no red cones#1e1e1fDeuteranopia
no green cones#0d2321Tritanopia
no blue cones#1f1f1fAchromatopsia
no color vision
CSS examples
.background { background-color: #12221f; }
.text { color: #12221f; }
.border { border: 2px solid #12221f; }
.transparent { background-color: rgb(18 34 31 / 50%); }
.gradient { background: linear-gradient(to right, #12221f, #121d22); }
Similar colors
#162825Swamp Thing#10252aSunken Ship#1e231cUnderworld#041108Jedi Night#0e191cBlack Stallion#0f282fBlack Box#293432Aztec#020f03Blackn’t
Closest common color name: Gunmetal.
Questions
- What color is #12221F?
- #12221F is a very dark, desaturated spring green, closest to the named color Swamp Thing. It belongs to the black family of colors.
- What is the RGB value of #12221F?
- The RGB value is 18, 34, 31: 18 red, 34 green and 31 blue on a 0 to 255 scale.
- What is the complementary color of #12221F?
- The complementary color is #221215, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #12221F?
- White text. Black text has a contrast ratio of 1.27:1 and white text 16.48:1. WCAG asks for at least 4.5:1 for normal text.