#5A875A color
The hex color #5A875A is a grayish green.
In the RGB color model it is made of 35.3% red, 52.9% green and 35.3% blue (90, 135, 90).
Its hue angle is 120°, with 20% saturation and 44% lightness. For print, the CMYK equivalent is 33% cyan, 0% magenta, 33% yellow and 47% black.
The closest named color is Kale (#648251), a difference of 3.9 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.05:1).
#5A875A color codes
| HEX | #5A875A | |
|---|---|---|
| RGB | rgb(90, 135, 90) | |
| RGB percent | rgb(35.3%, 52.9%, 35.3%) | |
| HSL | hsl(120, 20%, 44%) | |
| HSV / HSB | hsv(120, 33%, 53%) | |
| CMYK | cmyk(33%, 0%, 33%, 47%) | |
| CIE LAB | lab(52.11, -25.02, 19.45) | |
| CIE LCH | lch(52.11, 31.69, 142.15) | |
| CIE XYZ | xyz(14.725, 20.239, 12.802) | |
| Decimal | 5932890 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A875A, 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 #5A875A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.05:1 | Pass | Fail | Pass |
| Sample text | 4.16:1 | Fail | Fail | Pass |
| #5A875A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.16:1 | Fail | Fail | Pass |
| Sample text | 5.05: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 #5A875A looks to people with the most common types of color vision deficiency.
#897f57Protanopia
no red cones#827b5dDeuteranopia
no green cones#55847bTritanopia
no blue cones#7c7c7cAchromatopsia
no color vision
CSS examples
.background { background-color: #5a875a; }
.text { color: #5a875a; }
.border { border: 2px solid #5a875a; }
.transparent { background-color: rgb(90 135 90 / 50%); }
.gradient { background: linear-gradient(to right, #5a875a, #5a8771); }
Similar colors
#648251Kale#559260Medusa#4e8747Beanpole#63884aHomegrown#558e4cVictorian Garden#628468Clouded Pine#6f8d6aKashmir#558844The Legend of Green
Closest common color name: Fern Green.
Questions
- What color is #5A875A?
- #5A875A is a grayish green, closest to the named color Kale. It belongs to the green family of colors.
- What is the RGB value of #5A875A?
- The RGB value is 90, 135, 90: 90 red, 135 green and 90 blue on a 0 to 255 scale.
- What is the complementary color of #5A875A?
- The complementary color is #875A87, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A875A?
- Black text. Black text has a contrast ratio of 5.05:1 and white text 4.16:1. WCAG asks for at least 4.5:1 for normal text.