#5F7A54 color
The hex color #5F7A54 is a grayish green.
In the RGB color model it is made of 37.3% red, 47.8% green and 32.9% blue (95, 122, 84).
Its hue angle is 103°, with 18% saturation and 40% lightness. For print, the CMYK equivalent is 22% cyan, 0% magenta, 31% yellow and 52% 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.77:1).
#5F7A54 color codes
| HEX | #5F7A54 | |
|---|---|---|
| RGB | rgb(95, 122, 84) | |
| RGB percent | rgb(37.3%, 47.8%, 32.9%) | |
| HSL | hsl(103, 18%, 40%) | |
| HSV / HSB | hsv(103, 31%, 48%) | |
| CMYK | cmyk(22%, 0%, 31%, 52%) | |
| CIE LAB | lab(48.25, -17.49, 17.72) | |
| CIE LCH | lch(48.25, 24.9, 134.63) | |
| CIE XYZ | xyz(13.279, 16.992, 10.966) | |
| Decimal | 6257236 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5F7A54, 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 #5F7A54 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.4:1 | Fail | Fail | Pass |
| Sample text | 4.77:1 | Pass | Fail | Pass |
| #5F7A54 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.77:1 | Pass | Fail | Pass |
| Sample text | 4.4: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 #5F7A54 looks to people with the most common types of color vision deficiency.
#7d7452Protanopia
no red cones#787256Deuteranopia
no green cones#5e7770Tritanopia
no blue cones#737373Achromatopsia
no color vision
CSS examples
.background { background-color: #5f7a54; }
.text { color: #5f7a54; }
.border { border: 2px solid #5f7a54; }
.transparent { background-color: rgb(95 122 84 / 50%); }
.gradient { background: linear-gradient(to right, #5f7a54, #547a5c); }
Similar colors
#53734cIrish Clover#6a7e5fEmerald City#648251Kale#667744Ghoul#4f7942Fern Green#4f7942Mana Tree#688049Beyond the Pines#5b6f55Cactus
Questions
- What color is #5F7A54?
- #5F7A54 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 #5F7A54?
- The RGB value is 95, 122, 84: 95 red, 122 green and 84 blue on a 0 to 255 scale.
- What is the complementary color of #5F7A54?
- The complementary color is #6F547A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5F7A54?
- White text. Black text has a contrast ratio of 4.4:1 and white text 4.77:1. WCAG asks for at least 4.5:1 for normal text.