#2E4E42 color
The hex color #2E4E42 is a dark, desaturated spring green.
In the RGB color model it is made of 18% red, 30.6% green and 25.9% blue (46, 78, 66).
Its hue angle is 158°, with 26% saturation and 24% lightness. For print, the CMYK equivalent is 41% cyan, 0% magenta, 15% yellow and 69% black.
The closest named color is Pine Needle (#334D41), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.19:1).
#2E4E42 color codes
| HEX | #2E4E42 | |
|---|---|---|
| RGB | rgb(46, 78, 66) | |
| RGB percent | rgb(18%, 30.6%, 25.9%) | |
| HSL | hsl(158, 26%, 24%) | |
| HSV / HSB | hsv(158, 41%, 31%) | |
| CMYK | cmyk(41%, 0%, 15%, 69%) | |
| CIE LAB | lab(30.45, -14.98, 3.41) | |
| CIE LCH | lch(30.45, 15.37, 167.19) | |
| CIE XYZ | xyz(4.834, 6.423, 6.138) | |
| Decimal | 3034690 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2E4E42, 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 #2E4E42 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.28:1 | Fail | Fail | Fail |
| Sample text | 9.19:1 | Pass | Pass | Pass |
| #2E4E42 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.19:1 | Pass | Pass | Pass |
| Sample text | 2.28: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 #2E4E42 looks to people with the most common types of color vision deficiency.
#4c4a41Protanopia
no red cones#474643Deuteranopia
no green cones#254e4aTritanopia
no blue cones#484848Achromatopsia
no color vision
CSS examples
.background { background-color: #2e4e42; }
.text { color: #2e4e42; }
.border { border: 2px solid #2e4e42; }
.transparent { background-color: rgb(46 78 66 / 50%); }
.gradient { background: linear-gradient(to right, #2e4e42, #2e4a4e); }
Similar colors
#334d41Pine Needle#33534bHunter#264334Everglade#3e594cPlantation#394c3bMountain View#3a5b52Iridescent#3a533dHighlander#315955Enchanting Ivy
Closest common color name: Dark Slate Gray.
Questions
- What color is #2E4E42?
- #2E4E42 is a dark, desaturated spring green, closest to the named color Pine Needle. It belongs to the green family of colors.
- What is the RGB value of #2E4E42?
- The RGB value is 46, 78, 66: 46 red, 78 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #2E4E42?
- The complementary color is #4E2E3A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2E4E42?
- White text. Black text has a contrast ratio of 2.28:1 and white text 9.19:1. WCAG asks for at least 4.5:1 for normal text.