#3D5040 color
The hex color #3D5040 is a dark, grayish green.
In the RGB color model it is made of 23.9% red, 31.4% green and 25.1% blue (61, 80, 64).
Its hue angle is 129°, with 13% saturation and 28% lightness. For print, the CMYK equivalent is 24% cyan, 0% magenta, 20% yellow and 69% black.
The closest named color is Mountain View (#394C3B), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.68:1).
#3D5040 color codes
| HEX | #3D5040 | |
|---|---|---|
| RGB | rgb(61, 80, 64) | |
| RGB percent | rgb(23.9%, 31.4%, 25.1%) | |
| HSL | hsl(129, 13%, 28%) | |
| HSV / HSB | hsv(129, 24%, 31%) | |
| CMYK | cmyk(24%, 0%, 20%, 69%) | |
| CIE LAB | lab(32.03, -11.11, 7.05) | |
| CIE LCH | lch(32.03, 13.16, 147.6) | |
| CIE XYZ | xyz(5.718, 7.099, 5.919) | |
| Decimal | 4018240 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3D5040, 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 #3D5040 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.42:1 | Fail | Fail | Fail |
| Sample text | 8.68:1 | Pass | Pass | Pass |
| #3D5040 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.68:1 | Pass | Pass | Pass |
| Sample text | 2.42: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 #3D5040 looks to people with the most common types of color vision deficiency.
#504d3fProtanopia
no red cones#4d4b41Deuteranopia
no green cones#3b4f4bTritanopia
no blue cones#4b4b4bAchromatopsia
no color vision
CSS examples
.background { background-color: #3d5040; }
.text { color: #3d5040; }
.border { border: 2px solid #3d5040; }
.transparent { background-color: rgb(61 80 64 / 50%); }
.gradient { background: linear-gradient(to right, #3d5040, #3d504a); }
Similar colors
#394c3bMountain View#424f3bHōjicha#3a533dHighlander#334d41Pine Needle#3e594cPlantation#36482fPalm Leaf#4e5a4aVerdant Hush#49583eHeavy Green
Closest common color name: Ebony.
Questions
- What color is #3D5040?
- #3D5040 is a dark, grayish green, closest to the named color Mountain View. It belongs to the green family of colors.
- What is the RGB value of #3D5040?
- The RGB value is 61, 80, 64: 61 red, 80 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #3D5040?
- The complementary color is #503D4D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3D5040?
- White text. Black text has a contrast ratio of 2.42:1 and white text 8.68:1. WCAG asks for at least 4.5:1 for normal text.