#5F7A5C color
The hex color #5F7A5C is a grayish green.
In the RGB color model it is made of 37.3% red, 47.8% green and 36.1% blue (95, 122, 92).
Its hue angle is 114°, with 14% saturation and 42% lightness. For print, the CMYK equivalent is 22% cyan, 0% magenta, 25% yellow and 52% black.
The closest named color is Emerald City (#6A7E5F), a difference of 3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 4.75:1).
#5F7A5C color codes
| HEX | #5F7A5C | |
|---|---|---|
| RGB | rgb(95, 122, 92) | |
| RGB percent | rgb(37.3%, 47.8%, 36.1%) | |
| HSL | hsl(114, 14%, 42%) | |
| HSV / HSB | hsv(114, 25%, 48%) | |
| CMYK | cmyk(22%, 0%, 25%, 52%) | |
| CIE LAB | lab(48.42, -16.07, 13.31) | |
| CIE LCH | lch(48.42, 20.87, 140.36) | |
| CIE XYZ | xyz(13.61, 17.124, 12.711) | |
| Decimal | 6257244 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5F7A5C, 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 #5F7A5C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.42:1 | Fail | Fail | Pass |
| Sample text | 4.75:1 | Pass | Fail | Pass |
| #5F7A5C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.75:1 | Pass | Fail | Pass |
| Sample text | 4.42: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 #5F7A5C looks to people with the most common types of color vision deficiency.
#7c755aProtanopia
no red cones#77725eDeuteranopia
no green cones#5d7872Tritanopia
no blue cones#737373Achromatopsia
no color vision
CSS examples
.background { background-color: #5f7a5c; }
.text { color: #5f7a5c; }
.border { border: 2px solid #5f7a5c; }
.transparent { background-color: rgb(95 122 92 / 50%); }
.gradient { background: linear-gradient(to right, #5f7a5c, #5c7a68); }
Similar colors
#6a7e5fEmerald City#628468Clouded Pine#5b6f55Cactus#53734cIrish Clover#648251Kale#6f8770Thyme and Place#677f70Ecological#6f7755Dill
Closest common color name: Fern Green.
Questions
- What color is #5F7A5C?
- #5F7A5C 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 #5F7A5C?
- The RGB value is 95, 122, 92: 95 red, 122 green and 92 blue on a 0 to 255 scale.
- What is the complementary color of #5F7A5C?
- The complementary color is #775C7A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5F7A5C?
- White text. Black text has a contrast ratio of 4.42:1 and white text 4.75:1. WCAG asks for at least 4.5:1 for normal text.