#5F794E color
The hex color #5F794E is a grayish green.
In the RGB color model it is made of 37.3% red, 47.5% green and 30.6% blue (95, 121, 78).
Its hue angle is 96°, with 22% saturation and 39% lightness. For print, the CMYK equivalent is 21% cyan, 0% magenta, 36% yellow and 53% black.
The closest named color is Irish Clover (#53734C), a difference of 3.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 4.85:1).
#5F794E color codes
| HEX | #5F794E | |
|---|---|---|
| RGB | rgb(95, 121, 78) | |
| RGB percent | rgb(37.3%, 47.5%, 30.6%) | |
| HSL | hsl(96, 22%, 39%) | |
| HSV / HSB | hsv(96, 36%, 47%) | |
| CMYK | cmyk(21%, 0%, 36%, 53%) | |
| CIE LAB | lab(47.83, -17.95, 20.6) | |
| CIE LCH | lch(47.83, 27.32, 131.07) | |
| CIE XYZ | xyz(12.932, 16.657, 9.74) | |
| Decimal | 6256974 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5F794E, 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 #5F794E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.33:1 | Fail | Fail | Pass |
| Sample text | 4.85:1 | Pass | Fail | Pass |
| #5F794E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.85:1 | Pass | Fail | Pass |
| Sample text | 4.33:1 | Fail | 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 #5F794E looks to people with the most common types of color vision deficiency.
#7c734bProtanopia
no red cones#787150Deuteranopia
no green cones#5f766eTritanopia
no blue cones#717171Achromatopsia
no color vision
CSS examples
.background { background-color: #5f794e; }
.text { color: #5f794e; }
.border { border: 2px solid #5f794e; }
.transparent { background-color: rgb(95 121 78 / 50%); }
.gradient { background: linear-gradient(to right, #5f794e, #4e7953); }
Similar colors
#53734cIrish Clover#648251Kale#667744Ghoul#688049Beyond the Pines#4f7942Fern Green#4f7942Mana Tree#6a7e5fEmerald City#447744Autumn Crocodile
Questions
- What color is #5F794E?
- #5F794E is a grayish green, closest to the named color Irish Clover. It belongs to the green family of colors.
- What is the RGB value of #5F794E?
- The RGB value is 95, 121, 78: 95 red, 121 green and 78 blue on a 0 to 255 scale.
- What is the complementary color of #5F794E?
- The complementary color is #684E79, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5F794E?
- White text. Black text has a contrast ratio of 4.33:1 and white text 4.85:1. WCAG asks for at least 4.5:1 for normal text.