#2D4942 color
The hex color #2D4942 is a dark, grayish spring green.
In the RGB color model it is made of 17.6% red, 28.6% green and 25.9% blue (45, 73, 66).
Its hue angle is 165°, with 24% saturation and 23% lightness. For print, the CMYK equivalent is 38% cyan, 0% magenta, 10% yellow and 71% black.
The closest named color is Pine Needle (#334D41), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.8:1).
#2D4942 color codes
| HEX | #2D4942 | |
|---|---|---|
| RGB | rgb(45, 73, 66) | |
| RGB percent | rgb(17.6%, 28.6%, 25.9%) | |
| HSL | hsl(165, 24%, 23%) | |
| HSV / HSB | hsv(165, 38%, 29%) | |
| CMYK | cmyk(38%, 0%, 10%, 71%) | |
| CIE LAB | lab(28.68, -12.43, 0.84) | |
| CIE LCH | lch(28.68, 12.46, 176.13) | |
| CIE XYZ | xyz(4.448, 5.716, 6.022) | |
| Decimal | 2967874 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2D4942, 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 #2D4942 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.14:1 | Fail | Fail | Fail |
| Sample text | 9.8:1 | Pass | Pass | Pass |
| #2D4942 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.8:1 | Pass | Pass | Pass |
| Sample text | 2.14: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 #2D4942 looks to people with the most common types of color vision deficiency.
#474642Protanopia
no red cones#424243Deuteranopia
no green cones#254a47Tritanopia
no blue cones#444444Achromatopsia
no color vision
CSS examples
.background { background-color: #2d4942; }
.text { color: #2d4942; }
.border { border: 2px solid #2d4942; }
.transparent { background-color: rgb(45 73 66 / 50%); }
.gradient { background: linear-gradient(to right, #2d4942, #2d4249); }
Similar colors
#334d41Pine Needle#33534bHunter#2f4f4fDark Slate Gray#264334Everglade#12403cBotanical Night#394c3bMountain View#3c4f4eNight Watch#315955Enchanting Ivy
Questions
- What color is #2D4942?
- #2D4942 is a dark, grayish spring green, closest to the named color Pine Needle. It belongs to the gray family of colors.
- What is the RGB value of #2D4942?
- The RGB value is 45, 73, 66: 45 red, 73 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #2D4942?
- The complementary color is #492D34, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2D4942?
- White text. Black text has a contrast ratio of 2.14:1 and white text 9.8:1. WCAG asks for at least 4.5:1 for normal text.