#5A6D55 color
The hex color #5A6D55 is a grayish green.
In the RGB color model it is made of 35.3% red, 42.7% green and 33.3% blue (90, 109, 85).
Its hue angle is 107°, with 12% saturation and 38% lightness. For print, the CMYK equivalent is 17% cyan, 0% magenta, 22% yellow and 57% black.
The closest named color is Cactus (#5B6F55), a difference of 1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 5.59:1).
#5A6D55 color codes
| HEX | #5A6D55 | |
|---|---|---|
| RGB | rgb(90, 109, 85) | |
| RGB percent | rgb(35.3%, 42.7%, 33.3%) | |
| HSL | hsl(107, 12%, 38%) | |
| HSV / HSB | hsv(107, 22%, 43%) | |
| CMYK | cmyk(17%, 0%, 22%, 57%) | |
| CIE LAB | lab(43.9, -12.14, 11.11) | |
| CIE LCH | lch(43.9, 16.46, 137.53) | |
| CIE XYZ | xyz(11.324, 13.767, 10.653) | |
| Decimal | 5926229 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A6D55, 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 #5A6D55 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.75:1 | Fail | Fail | Pass |
| Sample text | 5.59:1 | Pass | Fail | Pass |
| #5A6D55 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.59:1 | Pass | Fail | Pass |
| Sample text | 3.75: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 #5A6D55 looks to people with the most common types of color vision deficiency.
#6f6954Protanopia
no red cones#6b6756Deuteranopia
no green cones#596b66Tritanopia
no blue cones#686868Achromatopsia
no color vision
CSS examples
.background { background-color: #5a6d55; }
.text { color: #5a6d55; }
.border { border: 2px solid #5a6d55; }
.transparent { background-color: rgb(90 109 85 / 50%); }
.gradient { background: linear-gradient(to right, #5a6d55, #556d5c); }
Similar colors
#5b6f55Cactus#616c51Hinterland#5f6957Italian Basil#5f674bMonstera#53734cIrish Clover#4b5d46Muddy Olive#6a7e5fEmerald City#6f7755Dill
Closest common color name: Ebony.
Questions
- What color is #5A6D55?
- #5A6D55 is a grayish green, closest to the named color Cactus. It belongs to the green family of colors.
- What is the RGB value of #5A6D55?
- The RGB value is 90, 109, 85: 90 red, 109 green and 85 blue on a 0 to 255 scale.
- What is the complementary color of #5A6D55?
- The complementary color is #68556D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A6D55?
- White text. Black text has a contrast ratio of 3.75:1 and white text 5.59:1. WCAG asks for at least 4.5:1 for normal text.