#042009 color
The hex color #042009 is a very dark, moderate green.
In the RGB color model it is made of 1.6% red, 12.5% green and 3.5% blue (4, 32, 9).
Its hue angle is 131°, with 78% saturation and 7% lightness. For print, the CMYK equivalent is 88% cyan, 0% magenta, 72% yellow and 87% black.
The closest named color is Nightmare (#112211), a difference of 3.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.27:1).
#042009 color codes
| HEX | #042009 | |
|---|---|---|
| RGB | rgb(4, 32, 9) | |
| RGB percent | rgb(1.6%, 12.5%, 3.5%) | |
| HSL | hsl(131, 78%, 7%) | |
| HSV / HSB | hsv(131, 88%, 13%) | |
| CMYK | cmyk(88%, 0%, 72%, 87%) | |
| CIE LAB | lab(9.63, -16.28, 10.39) | |
| CIE LCH | lch(9.63, 19.31, 147.44) | |
| CIE XYZ | xyz(0.616, 1.078, 0.434) | |
| Decimal | 270345 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #042009, 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 #042009 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.22:1 | Fail | Fail | Fail |
| Sample text | 17.27:1 | Pass | Pass | Pass |
| #042009 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.27: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 #042009 looks to people with the most common types of color vision deficiency.
#211c07Protanopia
no red cones#1d1a0bDeuteranopia
no green cones#001f1bTritanopia
no blue cones#1b1b1bAchromatopsia
no color vision
CSS examples
.background { background-color: #042009; }
.text { color: #042009; }
.border { border: 2px solid #042009; }
.transparent { background-color: rgb(4 32 9 / 50%); }
.gradient { background: linear-gradient(to right, #042009, #042017); }
Similar colors
#112211Nightmare#17240bMidnight Pines#172808Lindworm Green#032e0eHaunted Forest#002d04PCB Green#003322Pitch-Black Forests#113311Dark Serpent#003311Haunted Hills
Closest common color name: British Racing Green.
Questions
- What color is #042009?
- #042009 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 #042009?
- The RGB value is 4, 32, 9: 4 red, 32 green and 9 blue on a 0 to 255 scale.
- What is the complementary color of #042009?
- The complementary color is #20041B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #042009?
- White text. Black text has a contrast ratio of 1.22:1 and white text 17.27:1. WCAG asks for at least 4.5:1 for normal text.