#042A1D color
The hex color #042A1D is a very dark, vivid spring green.
In the RGB color model it is made of 1.6% red, 16.5% green and 11.4% blue (4, 42, 29).
Its hue angle is 159°, with 83% saturation and 9% lightness. For print, the CMYK equivalent is 90% cyan, 0% magenta, 31% yellow and 84% black.
The closest named color is Pitch-Black Forests (#003322), a difference of 3.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.51:1).
#042A1D color codes
| HEX | #042A1D | |
|---|---|---|
| RGB | rgb(4, 42, 29) | |
| RGB percent | rgb(1.6%, 16.5%, 11.4%) | |
| HSL | hsl(159, 83%, 9%) | |
| HSV / HSB | hsv(159, 90%, 16%) | |
| CMYK | cmyk(90%, 0%, 31%, 84%) | |
| CIE LAB | lab(14.23, -17.23, 4.76) | |
| CIE LCH | lch(14.23, 17.87, 164.54) | |
| CIE XYZ | xyz(1.1, 1.77, 1.446) | |
| Decimal | 272925 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #042A1D, 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 #042A1D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.35:1 | Fail | Fail | Fail |
| Sample text | 15.51:1 | Pass | Pass | Pass |
| #042A1D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.51:1 | Pass | Pass | Pass |
| Sample text | 1.35: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 #042A1D looks to people with the most common types of color vision deficiency.
#29261cProtanopia
no red cones#24231eDeuteranopia
no green cones#002a26Tritanopia
no blue cones#242424Achromatopsia
no color vision
CSS examples
.background { background-color: #042a1d; }
.text { color: #042a1d; }
.border { border: 2px solid #042a1d; }
.transparent { background-color: rgb(4 42 29 / 50%); }
.gradient { background: linear-gradient(to right, #042a1d, #04242a); }
Similar colors
#003322Pitch-Black Forests#112211Nightmare#032e0eHaunted Forest#162825Swamp Thing#003311Haunted Hills#17240bMidnight Pines#264334Everglade#113311Dark Serpent
Closest common color name: British Racing Green.
Questions
- What color is #042A1D?
- #042A1D is a very dark, vivid spring green, closest to the named color Pitch-Black Forests. It belongs to the green family of colors.
- What is the RGB value of #042A1D?
- The RGB value is 4, 42, 29: 4 red, 42 green and 29 blue on a 0 to 255 scale.
- What is the complementary color of #042A1D?
- The complementary color is #2A0411, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #042A1D?
- White text. Black text has a contrast ratio of 1.35:1 and white text 15.51:1. WCAG asks for at least 4.5:1 for normal text.