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