#2F5040 color
The hex color #2F5040 is a dark, desaturated spring green.
In the RGB color model it is made of 18.4% red, 31.4% green and 25.1% blue (47, 80, 64).
Its hue angle is 151°, with 26% saturation and 25% lightness. For print, the CMYK equivalent is 41% cyan, 0% magenta, 20% yellow and 69% 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 8.97:1).
#2F5040 color codes
| HEX | #2F5040 | |
|---|---|---|
| RGB | rgb(47, 80, 64) | |
| RGB percent | rgb(18.4%, 31.4%, 25.1%) | |
| HSL | hsl(151, 26%, 25%) | |
| HSV / HSB | hsv(151, 41%, 31%) | |
| CMYK | cmyk(41%, 0%, 20%, 69%) | |
| CIE LAB | lab(31.14, -16.27, 5.67) | |
| CIE LCH | lch(31.14, 17.23, 160.8) | |
| CIE XYZ | xyz(4.966, 6.712, 5.883) | |
| Decimal | 3100736 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2F5040, 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 #2F5040 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.34:1 | Fail | Fail | Fail |
| Sample text | 8.97:1 | Pass | Pass | Pass |
| #2F5040 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.97:1 | Pass | Pass | Pass |
| Sample text | 2.34: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 #2F5040 looks to people with the most common types of color vision deficiency.
#4f4c3fProtanopia
no red cones#4a4841Deuteranopia
no green cones#27504bTritanopia
no blue cones#494949Achromatopsia
no color vision
CSS examples
.background { background-color: #2f5040; }
.text { color: #2f5040; }
.border { border: 2px solid #2f5040; }
.transparent { background-color: rgb(47 80 64 / 50%); }
.gradient { background: linear-gradient(to right, #2f5040, #2f5050); }
Similar colors
#334d41Pine Needle#3a533dHighlander#33534bHunter#3e594cPlantation#264334Everglade#394c3bMountain View#3e5e4eEthereal Woods#3a5b52Iridescent
Closest common color name: Hunter Green.
Questions
- What color is #2F5040?
- #2F5040 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 #2F5040?
- The RGB value is 47, 80, 64: 47 red, 80 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #2F5040?
- The complementary color is #502F3F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2F5040?
- White text. Black text has a contrast ratio of 2.34:1 and white text 8.97:1. WCAG asks for at least 4.5:1 for normal text.