#042016 color
The hex color #042016 is a very dark, moderate spring green.
In the RGB color model it is made of 1.6% red, 12.5% green and 8.6% blue (4, 32, 22).
Its hue angle is 159°, with 78% saturation and 7% lightness. For print, the CMYK equivalent is 88% cyan, 0% magenta, 31% yellow and 87% black.
The closest named color is Nightmare (#112211), a difference of 4.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.17:1).
#042016 color codes
| HEX | #042016 | |
|---|---|---|
| RGB | rgb(4, 32, 22) | |
| RGB percent | rgb(1.6%, 12.5%, 8.6%) | |
| HSL | hsl(159, 78%, 7%) | |
| HSV / HSB | hsv(159, 88%, 13%) | |
| CMYK | cmyk(88%, 0%, 31%, 87%) | |
| CIE LAB | lab(9.93, -13.65, 3.72) | |
| CIE LCH | lch(9.93, 14.15, 164.78) | |
| CIE XYZ | xyz(0.711, 1.117, 0.937) | |
| Decimal | 270358 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #042016, 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 #042016 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.22:1 | Fail | Fail | Fail |
| Sample text | 17.17:1 | Pass | Pass | Pass |
| #042016 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.17:1 | Pass | Pass | Pass |
| Sample text | 1.22: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 #042016 looks to people with the most common types of color vision deficiency.
#1f1d15Protanopia
no red cones#1b1a17Deuteranopia
no green cones#00201dTritanopia
no blue cones#1b1b1bAchromatopsia
no color vision
CSS examples
.background { background-color: #042016; }
.text { color: #042016; }
.border { border: 2px solid #042016; }
.transparent { background-color: rgb(4 32 22 / 50%); }
.gradient { background: linear-gradient(to right, #042016, #041c20); }
Similar colors
#112211Nightmare#162825Swamp Thing#003322Pitch-Black Forests#001000Cosmic Bit Flip#17240bMidnight Pines#041108Jedi Night#020f03Blackn’t#172808Lindworm Green
Closest common color name: British Racing Green.
Questions
- What color is #042016?
- #042016 is a very dark, moderate spring green, closest to the named color Nightmare. It belongs to the black family of colors.
- What is the RGB value of #042016?
- The RGB value is 4, 32, 22: 4 red, 32 green and 22 blue on a 0 to 255 scale.
- What is the complementary color of #042016?
- The complementary color is #20040E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #042016?
- White text. Black text has a contrast ratio of 1.22:1 and white text 17.17:1. WCAG asks for at least 4.5:1 for normal text.