#5A7F34 color
The hex color #5A7F34 is a dark, desaturated yellow-green.
In the RGB color model it is made of 35.3% red, 49.8% green and 20.4% blue (90, 127, 52).
Its hue angle is 90°, with 42% saturation and 35% lightness. For print, the CMYK equivalent is 29% cyan, 0% magenta, 59% yellow and 50% black.
The closest named color is Master Chief (#507D2A), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 4.65:1).
#5A7F34 color codes
| HEX | #5A7F34 | |
|---|---|---|
| RGB | rgb(90, 127, 52) | |
| RGB percent | rgb(35.3%, 49.8%, 20.4%) | |
| HSL | hsl(90, 42%, 35%) | |
| HSV / HSB | hsv(90, 59%, 50%) | |
| CMYK | cmyk(29%, 0%, 59%, 50%) | |
| CIE LAB | lab(49.01, -26.44, 36.01) | |
| CIE LCH | lch(49.01, 44.68, 126.29) | |
| CIE XYZ | xyz(12.426, 17.6, 5.991) | |
| Decimal | 5930804 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A7F34, 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 #5A7F34 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.52:1 | Pass | Fail | Pass |
| Sample text | 4.65:1 | Pass | Fail | Pass |
| #5A7F34 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.65:1 | Pass | Fail | Pass |
| Sample text | 4.52: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 #5A7F34 looks to people with the most common types of color vision deficiency.
#84762cProtanopia
no red cones#7f7339Deuteranopia
no green cones#5c7a6fTritanopia
no blue cones#747474Achromatopsia
no color vision
CSS examples
.background { background-color: #5a7f34; }
.text { color: #5a7f34; }
.border { border: 2px solid #5a7f34; }
.transparent { background-color: rgb(90 127 52 / 50%); }
.gradient { background: linear-gradient(to right, #5a7f34, #347f34); }
Similar colors
#507d2aMaster Chief#517933Luscious Lemongrass#5a8643Shepherd’s Green#5c821aEnchanted Forest#5e8b3dHidden Paradise#558844The Legend of Green#688049Beyond the Pines#63884aHomegrown
Closest common color name: Fern Green.
Questions
- What color is #5A7F34?
- #5A7F34 is a dark, desaturated yellow-green, closest to the named color Master Chief. It belongs to the green family of colors.
- What is the RGB value of #5A7F34?
- The RGB value is 90, 127, 52: 90 red, 127 green and 52 blue on a 0 to 255 scale.
- What is the complementary color of #5A7F34?
- The complementary color is #59347F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A7F34?
- White text. Black text has a contrast ratio of 4.52:1 and white text 4.65:1. WCAG asks for at least 4.5:1 for normal text.