#04221C color
The hex color #04221C is a very dark, moderate spring green.
In the RGB color model it is made of 1.6% red, 13.3% green and 11% blue (4, 34, 28).
Its hue angle is 168°, with 79% saturation and 7% lightness. For print, the CMYK equivalent is 88% cyan, 0% magenta, 18% yellow and 87% black.
The closest named color is Swamp Thing (#162825), a difference of 4.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.79:1).
#04221C color codes
| HEX | #04221C | |
|---|---|---|
| RGB | rgb(4, 34, 28) | |
| RGB percent | rgb(1.6%, 13.3%, 11%) | |
| HSL | hsl(168, 79%, 7%) | |
| HSV / HSB | hsv(168, 88%, 13%) | |
| CMYK | cmyk(88%, 0%, 18%, 87%) | |
| CIE LAB | lab(10.95, -13.12, 0.79) | |
| CIE LCH | lch(10.95, 13.14, 176.55) | |
| CIE XYZ | xyz(0.832, 1.254, 1.297) | |
| Decimal | 270876 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #04221C, 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 #04221C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.25:1 | Fail | Fail | Fail |
| Sample text | 16.79:1 | Pass | Pass | Pass |
| #04221C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.79:1 | Pass | Pass | Pass |
| Sample text | 1.25: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 #04221C looks to people with the most common types of color vision deficiency.
#201f1cProtanopia
no red cones#1c1c1cDeuteranopia
no green cones#002320Tritanopia
no blue cones#1d1d1dAchromatopsia
no color vision
CSS examples
.background { background-color: #04221c; }
.text { color: #04221c; }
.border { border: 2px solid #04221c; }
.transparent { background-color: rgb(4 34 28 / 50%); }
.gradient { background: linear-gradient(to right, #04221c, #041922); }
Similar colors
#162825Swamp Thing#112211Nightmare#003322Pitch-Black Forests#001000Cosmic Bit Flip#133337Elite Teal#10252aSunken Ship#041108Jedi Night#020f03Blackn’t
Closest common color name: Gunmetal.
Questions
- What color is #04221C?
- #04221C is a very dark, moderate spring green, closest to the named color Swamp Thing. It belongs to the black family of colors.
- What is the RGB value of #04221C?
- The RGB value is 4, 34, 28: 4 red, 34 green and 28 blue on a 0 to 255 scale.
- What is the complementary color of #04221C?
- The complementary color is #22040A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #04221C?
- White text. Black text has a contrast ratio of 1.25:1 and white text 16.79:1. WCAG asks for at least 4.5:1 for normal text.