#5F795C color
The hex color #5F795C is a grayish green.
In the RGB color model it is made of 37.3% red, 47.5% green and 36.1% blue (95, 121, 92).
Its hue angle is 114°, with 14% saturation and 42% lightness. For print, the CMYK equivalent is 21% cyan, 0% magenta, 24% yellow and 53% black.
The closest named color is Emerald City (#6A7E5F), a difference of 3.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 4.8:1).
#5F795C color codes
| HEX | #5F795C | |
|---|---|---|
| RGB | rgb(95, 121, 92) | |
| RGB percent | rgb(37.3%, 47.5%, 36.1%) | |
| HSL | hsl(114, 14%, 42%) | |
| HSV / HSB | hsv(114, 24%, 47%) | |
| CMYK | cmyk(21%, 0%, 24%, 53%) | |
| CIE LAB | lab(48.11, -15.53, 12.89) | |
| CIE LCH | lch(48.11, 20.18, 140.31) | |
| CIE XYZ | xyz(13.488, 16.88, 12.671) | |
| Decimal | 6256988 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5F795C, 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 #5F795C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.38:1 | Fail | Fail | Pass |
| Sample text | 4.8:1 | Pass | Fail | Pass |
| #5F795C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.8:1 | Pass | Fail | Pass |
| Sample text | 4.38: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 #5F795C looks to people with the most common types of color vision deficiency.
#7b745aProtanopia
no red cones#76715dDeuteranopia
no green cones#5d7771Tritanopia
no blue cones#727272Achromatopsia
no color vision
CSS examples
.background { background-color: #5f795c; }
.text { color: #5f795c; }
.border { border: 2px solid #5f795c; }
.transparent { background-color: rgb(95 121 92 / 50%); }
.gradient { background: linear-gradient(to right, #5f795c, #5c7967); }
Similar colors
#6a7e5fEmerald City#5b6f55Cactus#628468Clouded Pine#53734cIrish Clover#677f70Ecological#6f8770Thyme and Place#648251Kale#616c51Hinterland
Closest common color name: Fern Green.
Questions
- What color is #5F795C?
- #5F795C is a grayish green, closest to the named color Emerald City. It belongs to the green family of colors.
- What is the RGB value of #5F795C?
- The RGB value is 95, 121, 92: 95 red, 121 green and 92 blue on a 0 to 255 scale.
- What is the complementary color of #5F795C?
- The complementary color is #765C79, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5F795C?
- White text. Black text has a contrast ratio of 4.38:1 and white text 4.8:1. WCAG asks for at least 4.5:1 for normal text.