#5F7F4D color
The hex color #5F7F4D is a grayish green.
In the RGB color model it is made of 37.3% red, 49.8% green and 30.2% blue (95, 127, 77).
Its hue angle is 98°, with 25% saturation and 40% lightness. For print, the CMYK equivalent is 25% cyan, 0% magenta, 39% yellow and 50% black.
The closest named color is Kale (#648251), a difference of 1.4 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 4.63:1).
#5F7F4D color codes
| HEX | #5F7F4D | |
|---|---|---|
| RGB | rgb(95, 127, 77) | |
| RGB percent | rgb(37.3%, 49.8%, 30.2%) | |
| HSL | hsl(98, 25%, 40%) | |
| HSV / HSB | hsv(98, 39%, 50%) | |
| CMYK | cmyk(25%, 0%, 39%, 50%) | |
| CIE LAB | lab(49.67, -21.25, 23.59) | |
| CIE LCH | lch(49.67, 31.75, 132.01) | |
| CIE XYZ | xyz(13.648, 18.147, 9.803) | |
| Decimal | 6258509 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5F7F4D, 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 #5F7F4D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.63:1 | Pass | Fail | Pass |
| Sample text | 4.54:1 | Pass | Fail | Pass |
| #5F7F4D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.54:1 | Pass | Fail | Pass |
| Sample text | 4.63:1 | Pass | Fail | Pass |
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 #5F7F4D looks to people with the most common types of color vision deficiency.
#837849Protanopia
no red cones#7e7550Deuteranopia
no green cones#5f7b72Tritanopia
no blue cones#767676Achromatopsia
no color vision
CSS examples
.background { background-color: #5f7f4d; }
.text { color: #5f7f4d; }
.border { border: 2px solid #5f7f4d; }
.transparent { background-color: rgb(95 127 77 / 50%); }
.gradient { background: linear-gradient(to right, #5f7f4d, #4d7f54); }
Similar colors
#648251Kale#688049Beyond the Pines#4f7942Fern Green#4f7942Mana Tree#63884aHomegrown#5a8643Shepherd’s Green#667744Ghoul#558844The Legend of Green
Questions
- What color is #5F7F4D?
- #5F7F4D is a grayish green, closest to the named color Kale. It belongs to the green family of colors.
- What is the RGB value of #5F7F4D?
- The RGB value is 95, 127, 77: 95 red, 127 green and 77 blue on a 0 to 255 scale.
- What is the complementary color of #5F7F4D?
- The complementary color is #6D4D7F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5F7F4D?
- Black text. Black text has a contrast ratio of 4.63:1 and white text 4.54:1. WCAG asks for at least 4.5:1 for normal text.