#2D4E40 color
The hex color #2D4E40 is a dark, desaturated spring green.
In the RGB color model it is made of 17.6% red, 30.6% green and 25.1% blue (45, 78, 64).
Its hue angle is 155°, with 27% saturation and 24% lightness. For print, the CMYK equivalent is 42% cyan, 0% magenta, 18% yellow and 69% black.
The closest named color is Pine Needle (#334D41), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.23:1).
#2D4E40 color codes
| HEX | #2D4E40 | |
|---|---|---|
| RGB | rgb(45, 78, 64) | |
| RGB percent | rgb(17.6%, 30.6%, 25.1%) | |
| HSL | hsl(155, 27%, 24%) | |
| HSV / HSB | hsv(155, 42%, 31%) | |
| CMYK | cmyk(42%, 0%, 18%, 69%) | |
| CIE LAB | lab(30.34, -15.82, 4.52) | |
| CIE LCH | lch(30.34, 16.45, 164.07) | |
| CIE XYZ | xyz(4.732, 6.377, 5.831) | |
| Decimal | 2969152 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2D4E40, 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 #2D4E40 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.28:1 | Fail | Fail | Fail |
| Sample text | 9.23:1 | Pass | Pass | Pass |
| #2D4E40 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.23: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 #2D4E40 looks to people with the most common types of color vision deficiency.
#4d4a3fProtanopia
no red cones#474641Deuteranopia
no green cones#244e4aTritanopia
no blue cones#474747Achromatopsia
no color vision
CSS examples
.background { background-color: #2d4e40; }
.text { color: #2d4e40; }
.border { border: 2px solid #2d4e40; }
.transparent { background-color: rgb(45 78 64 / 50%); }
.gradient { background: linear-gradient(to right, #2d4e40, #2d4c4e); }
Similar colors
#334d41Pine Needle#33534bHunter#264334Everglade#3a533dHighlander#394c3bMountain View#3e594cPlantation#3a5b52Iridescent#3e5e4eEthereal Woods
Closest common color name: Dark Slate Gray.
Questions
- What color is #2D4E40?
- #2D4E40 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 #2D4E40?
- The RGB value is 45, 78, 64: 45 red, 78 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #2D4E40?
- The complementary color is #4E2D3B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2D4E40?
- White text. Black text has a contrast ratio of 2.28:1 and white text 9.23:1. WCAG asks for at least 4.5:1 for normal text.