#3A5140 color
The hex color #3A5140 is a dark, grayish green.
In the RGB color model it is made of 22.7% red, 31.8% green and 25.1% blue (58, 81, 64).
Its hue angle is 136°, with 17% saturation and 27% lightness. For print, the CMYK equivalent is 28% cyan, 0% magenta, 21% yellow and 68% black.
The closest named color is Mountain View (#394C3B), a difference of 2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.64:1).
#3A5140 color codes
| HEX | #3A5140 | |
|---|---|---|
| RGB | rgb(58, 81, 64) | |
| RGB percent | rgb(22.7%, 31.8%, 25.1%) | |
| HSL | hsl(136, 17%, 27%) | |
| HSV / HSB | hsv(136, 28%, 32%) | |
| CMYK | cmyk(28%, 0%, 21%, 68%) | |
| CIE LAB | lab(32.16, -12.86, 7.2) | |
| CIE LCH | lch(32.16, 14.74, 150.77) | |
| CIE XYZ | xyz(5.612, 7.154, 5.935) | |
| Decimal | 3821888 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3A5140, 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 #3A5140 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.43:1 | Fail | Fail | Fail |
| Sample text | 8.64:1 | Pass | Pass | Pass |
| #3A5140 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.64:1 | Pass | Pass | Pass |
| Sample text | 2.43: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 #3A5140 looks to people with the most common types of color vision deficiency.
#514d3fProtanopia
no red cones#4d4b41Deuteranopia
no green cones#37504cTritanopia
no blue cones#4c4c4cAchromatopsia
no color vision
CSS examples
.background { background-color: #3a5140; }
.text { color: #3a5140; }
.border { border: 2px solid #3a5140; }
.transparent { background-color: rgb(58 81 64 / 50%); }
.gradient { background: linear-gradient(to right, #3a5140, #3a514b); }
Similar colors
#394c3bMountain View#3a533dHighlander#334d41Pine Needle#3e594cPlantation#424f3bHōjicha#36482fPalm Leaf#3e5e4eEthereal Woods#33534bHunter
Closest common color name: Hunter Green.
Questions
- What color is #3A5140?
- #3A5140 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 #3A5140?
- The RGB value is 58, 81, 64: 58 red, 81 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #3A5140?
- The complementary color is #513A4B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3A5140?
- White text. Black text has a contrast ratio of 2.43:1 and white text 8.64:1. WCAG asks for at least 4.5:1 for normal text.