#2F403A color
The hex color #2F403A is a dark, grayish spring green.
In the RGB color model it is made of 18.4% red, 25.1% green and 22.7% blue (47, 64, 58).
Its hue angle is 159°, with 15% saturation and 22% lightness. For print, the CMYK equivalent is 27% cyan, 0% magenta, 9% yellow and 75% black.
The closest named color is Deep Forest (#3C463E), a difference of 3.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.96:1).
#2F403A color codes
| HEX | #2F403A | |
|---|---|---|
| RGB | rgb(47, 64, 58) | |
| RGB percent | rgb(18.4%, 25.1%, 22.7%) | |
| HSL | hsl(159, 15%, 22%) | |
| HSV / HSB | hsv(159, 27%, 25%) | |
| CMYK | cmyk(27%, 0%, 9%, 75%) | |
| CIE LAB | lab(25.49, -8.34, 1.45) | |
| CIE LCH | lch(25.49, 8.46, 170.16) | |
| CIE XYZ | xyz(3.769, 4.576, 4.687) | |
| Decimal | 3096634 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2F403A, 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 #2F403A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.92:1 | Fail | Fail | Fail |
| Sample text | 10.96:1 | Pass | Pass | Pass |
| #2F403A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.96:1 | Pass | Pass | Pass |
| Sample text | 1.92: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 #2F403A looks to people with the most common types of color vision deficiency.
#3f3e3aProtanopia
no red cones#3c3b3aDeuteranopia
no green cones#2b403eTritanopia
no blue cones#3c3c3cAchromatopsia
no color vision
CSS examples
.background { background-color: #2f403a; }
.text { color: #2f403a; }
.border { border: 2px solid #2f403a; }
.transparent { background-color: rgb(47 64 58 / 50%); }
.gradient { background: linear-gradient(to right, #2f403a, #2f3e40); }
Similar colors
#3c463eDeep Forest#293432Aztec#334d41Pine Needle#3c4f4eNight Watch#2b322dTerminal Black#264334Everglade#424c4aUrban Chic#444b43Ancient Pine
Closest common color name: Onyx.
Questions
- What color is #2F403A?
- #2F403A is a dark, grayish spring green, closest to the named color Deep Forest. It belongs to the gray family of colors.
- What is the RGB value of #2F403A?
- The RGB value is 47, 64, 58: 47 red, 64 green and 58 blue on a 0 to 255 scale.
- What is the complementary color of #2F403A?
- The complementary color is #402F35, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2F403A?
- White text. Black text has a contrast ratio of 1.92:1 and white text 10.96:1. WCAG asks for at least 4.5:1 for normal text.