#5A873F color
The hex color #5A873F is a desaturated green.
In the RGB color model it is made of 35.3% red, 52.9% green and 24.7% blue (90, 135, 63).
Its hue angle is 98°, with 36% saturation and 39% lightness. For print, the CMYK equivalent is 33% cyan, 0% magenta, 53% yellow and 47% black.
The closest named color is Shepherd’s Green (#5A8643), a difference of 1 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 4.97:1).
#5A873F color codes
| HEX | #5A873F | |
|---|---|---|
| RGB | rgb(90, 135, 63) | |
| RGB percent | rgb(35.3%, 52.9%, 24.7%) | |
| HSL | hsl(98, 36%, 39%) | |
| HSV / HSB | hsv(98, 53%, 53%) | |
| CMYK | cmyk(33%, 0%, 53%, 47%) | |
| CIE LAB | lab(51.68, -29.07, 33.59) | |
| CIE LCH | lch(51.68, 44.42, 130.87) | |
| CIE XYZ | xyz(13.777, 19.86, 7.809) | |
| Decimal | 5932863 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A873F, 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 #5A873F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.97:1 | Pass | Fail | Pass |
| Sample text | 4.22:1 | Fail | Fail | Pass |
| #5A873F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.22:1 | Fail | Fail | Pass |
| Sample text | 4.97: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 #5A873F looks to people with the most common types of color vision deficiency.
#8c7e39Protanopia
no red cones#857a44Deuteranopia
no green cones#598277Tritanopia
no blue cones#7b7b7bAchromatopsia
no color vision
CSS examples
.background { background-color: #5a873f; }
.text { color: #5a873f; }
.border { border: 2px solid #5a873f; }
.transparent { background-color: rgb(90 135 63 / 50%); }
.gradient { background: linear-gradient(to right, #5a873f, #3f8748); }
Similar colors
#5a8643Shepherd’s Green#558844The Legend of Green#5e8b3dHidden Paradise#588c3aIndica#63884aHomegrown#548d44Fern#4e8747Beanpole#558e4cVictorian Garden
Closest common color name: Basil.
Questions
- What color is #5A873F?
- #5A873F is a desaturated green, closest to the named color Shepherd’s Green. It belongs to the green family of colors.
- What is the RGB value of #5A873F?
- The RGB value is 90, 135, 63: 90 red, 135 green and 63 blue on a 0 to 255 scale.
- What is the complementary color of #5A873F?
- The complementary color is #6C3F87, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A873F?
- Black text. Black text has a contrast ratio of 4.97:1 and white text 4.22:1. WCAG asks for at least 4.5:1 for normal text.