#5A7150 color
The hex color #5A7150 is a dark, grayish green.
In the RGB color model it is made of 35.3% red, 44.3% green and 31.4% blue (90, 113, 80).
Its hue angle is 102°, with 17% saturation and 38% lightness. For print, the CMYK equivalent is 20% cyan, 0% magenta, 29% yellow and 56% black.
The closest named color is Cactus (#5B6F55), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.37:1).
#5A7150 color codes
| HEX | #5A7150 | |
|---|---|---|
| RGB | rgb(90, 113, 80) | |
| RGB percent | rgb(35.3%, 44.3%, 31.4%) | |
| HSL | hsl(102, 17%, 38%) | |
| HSV / HSB | hsv(102, 29%, 44%) | |
| CMYK | cmyk(20%, 0%, 29%, 56%) | |
| CIE LAB | lab(45.03, -15.26, 15.63) | |
| CIE LCH | lch(45.03, 21.84, 134.33) | |
| CIE XYZ | xyz(11.569, 14.563, 9.789) | |
| Decimal | 5927248 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A7150, 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 #5A7150 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.91:1 | Fail | Fail | Pass |
| Sample text | 5.37:1 | Pass | Fail | Pass |
| #5A7150 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.37:1 | Pass | Fail | Pass |
| Sample text | 3.91: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 #5A7150 looks to people with the most common types of color vision deficiency.
#736c4eProtanopia
no red cones#706a52Deuteranopia
no green cones#5a6f68Tritanopia
no blue cones#6b6b6bAchromatopsia
no color vision
CSS examples
.background { background-color: #5a7150; }
.text { color: #5a7150; }
.border { border: 2px solid #5a7150; }
.transparent { background-color: rgb(90 113 80 / 50%); }
.gradient { background: linear-gradient(to right, #5a7150, #507156); }
Similar colors
#5b6f55Cactus#53734cIrish Clover#616c51Hinterland#476e42Under the Radar#6a7e5fEmerald City#5f674bMonstera#667744Ghoul#6f7755Dill
Closest common color name: Fern Green.
Questions
- What color is #5A7150?
- #5A7150 is a dark, grayish green, closest to the named color Cactus. It belongs to the green family of colors.
- What is the RGB value of #5A7150?
- The RGB value is 90, 113, 80: 90 red, 113 green and 80 blue on a 0 to 255 scale.
- What is the complementary color of #5A7150?
- The complementary color is #675071, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A7150?
- White text. Black text has a contrast ratio of 3.91:1 and white text 5.37:1. WCAG asks for at least 4.5:1 for normal text.