#5A5F47 color
The hex color #5A5F47 is a dark, grayish yellow-green.
In the RGB color model it is made of 35.3% red, 37.3% green and 27.8% blue (90, 95, 71).
Its hue angle is 72°, with 14% saturation and 33% lightness. For print, the CMYK equivalent is 5% cyan, 0% magenta, 25% yellow and 63% black.
The closest named color is Tree of Life (#595D45), a difference of 0.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 6.64:1).
#5A5F47 color codes
| HEX | #5A5F47 | |
|---|---|---|
| RGB | rgb(90, 95, 71) | |
| RGB percent | rgb(35.3%, 37.3%, 27.8%) | |
| HSL | hsl(72, 14%, 33%) | |
| HSV / HSB | hsv(72, 25%, 37%) | |
| CMYK | cmyk(5%, 0%, 25%, 63%) | |
| CIE LAB | lab(39.26, -6.61, 13.12) | |
| CIE LCH | lch(39.26, 14.69, 116.73) | |
| CIE XYZ | xyz(9.446, 10.813, 7.55) | |
| Decimal | 5922631 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A5F47, 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 #5A5F47 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.16:1 | Fail | Fail | Pass |
| Sample text | 6.64:1 | Pass | Fail | Pass |
| #5A5F47 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.64:1 | Pass | Fail | Pass |
| Sample text | 3.16: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 #5A5F47 looks to people with the most common types of color vision deficiency.
#625c46Protanopia
no red cones#625d48Deuteranopia
no green cones#5d5c59Tritanopia
no blue cones#5c5c5cAchromatopsia
no color vision
CSS examples
.background { background-color: #5a5f47; }
.text { color: #5a5f47; }
.border { border: 2px solid #5a5f47; }
.transparent { background-color: rgb(90 95 71 / 50%); }
.gradient { background: linear-gradient(to right, #5a5f47, #4e5f47); }
Similar colors
#595d45Tree of Life#585d40Cypress#5f674bMonstera#5e6354Black Forest#555d50Ebony#5f6957Italian Basil#4e5a4aVerdant Hush#4b5338Broccoli Green
Questions
- What color is #5A5F47?
- #5A5F47 is a dark, grayish yellow-green, closest to the named color Tree of Life. It belongs to the green family of colors.
- What is the RGB value of #5A5F47?
- The RGB value is 90, 95, 71: 90 red, 95 green and 71 blue on a 0 to 255 scale.
- What is the complementary color of #5A5F47?
- The complementary color is #4C475F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A5F47?
- White text. Black text has a contrast ratio of 3.16:1 and white text 6.64:1. WCAG asks for at least 4.5:1 for normal text.