#042106 color
The hex color #042106 is a very dark, moderate green.
In the RGB color model it is made of 1.6% red, 12.9% green and 2.4% blue (4, 33, 6).
Its hue angle is 124°, with 78% saturation and 7% lightness. For print, the CMYK equivalent is 88% cyan, 0% magenta, 82% yellow and 87% black.
The closest named color is Nightmare (#112211), a difference of 4.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.14:1).
#042106 color codes
| HEX | #042106 | |
|---|---|---|
| RGB | rgb(4, 33, 6) | |
| RGB percent | rgb(1.6%, 12.9%, 2.4%) | |
| HSL | hsl(124, 78%, 7%) | |
| HSV / HSB | hsv(124, 88%, 13%) | |
| CMYK | cmyk(88%, 0%, 82%, 87%) | |
| CIE LAB | lab(10, -17.45, 12.15) | |
| CIE LCH | lch(10, 21.26, 145.15) | |
| CIE XYZ | xyz(0.627, 1.127, 0.357) | |
| Decimal | 270598 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #042106, 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 #042106 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.23:1 | Fail | Fail | Fail |
| Sample text | 17.14:1 | Pass | Pass | Pass |
| #042106 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.14:1 | Pass | Pass | Pass |
| Sample text | 1.23: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 #042106 looks to people with the most common types of color vision deficiency.
#221d04Protanopia
no red cones#1e1b08Deuteranopia
no green cones#00201bTritanopia
no blue cones#1b1b1bAchromatopsia
no color vision
CSS examples
.background { background-color: #042106; }
.text { color: #042106; }
.border { border: 2px solid #042106; }
.transparent { background-color: rgb(4 33 6 / 50%); }
.gradient { background: linear-gradient(to right, #042106, #042115); }
Similar colors
#112211Nightmare#032e0eHaunted Forest#172808Lindworm Green#17240bMidnight Pines#002d04PCB Green#113311Dark Serpent#003311Haunted Hills#003322Pitch-Black Forests
Closest common color name: British Racing Green.
Questions
- What color is #042106?
- #042106 is a very dark, moderate green, closest to the named color Nightmare. It belongs to the black family of colors.
- What is the RGB value of #042106?
- The RGB value is 4, 33, 6: 4 red, 33 green and 6 blue on a 0 to 255 scale.
- What is the complementary color of #042106?
- The complementary color is #21041F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #042106?
- White text. Black text has a contrast ratio of 1.23:1 and white text 17.14:1. WCAG asks for at least 4.5:1 for normal text.