#5A5B42 color
The hex color #5A5B42 is a dark, grayish yellow.
In the RGB color model it is made of 35.3% red, 35.7% green and 25.9% blue (90, 91, 66).
Its hue angle is 62°, with 16% saturation and 31% lightness. For print, the CMYK equivalent is 1% cyan, 0% magenta, 27% yellow and 64% black.
The closest named color is Tree of Life (#595D45), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 6.98:1).
#5A5B42 color codes
| HEX | #5A5B42 | |
|---|---|---|
| RGB | rgb(90, 91, 66) | |
| RGB percent | rgb(35.3%, 35.7%, 25.9%) | |
| HSL | hsl(62, 16%, 31%) | |
| HSV / HSB | hsv(62, 27%, 36%) | |
| CMYK | cmyk(1%, 0%, 27%, 64%) | |
| CIE LAB | lab(37.93, -5.06, 14.33) | |
| CIE LCH | lch(37.93, 15.2, 109.46) | |
| CIE XYZ | xyz(8.941, 10.049, 6.622) | |
| Decimal | 5921602 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A5B42, 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 #5A5B42 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.01:1 | Fail | Fail | Pass |
| Sample text | 6.98:1 | Pass | Fail | Pass |
| #5A5B42 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.98:1 | Pass | Fail | Pass |
| Sample text | 3.01: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 #5A5B42 looks to people with the most common types of color vision deficiency.
#5f5940Protanopia
no red cones#5f5a43Deuteranopia
no green cones#5d5854Tritanopia
no blue cones#595959Achromatopsia
no color vision
CSS examples
.background { background-color: #5a5b42; }
.text { color: #5a5b42; }
.border { border: 2px solid #5a5b42; }
.transparent { background-color: rgb(90 91 66 / 50%); }
.gradient { background: linear-gradient(to right, #5a5b42, #4e5b42); }
Similar colors
#595d45Tree of Life#585d40Cypress#4d503cKelp#4b5338Broccoli Green#5f674bMonstera#4f4d32Jungle King#5e6354Black Forest#696845Eat Your Greens
Closest common color name: Ebony.
Questions
- What color is #5A5B42?
- #5A5B42 is a dark, grayish yellow, closest to the named color Tree of Life. It belongs to the yellow family of colors.
- What is the RGB value of #5A5B42?
- The RGB value is 90, 91, 66: 90 red, 91 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #5A5B42?
- The complementary color is #43425B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A5B42?
- White text. Black text has a contrast ratio of 3.01:1 and white text 6.98:1. WCAG asks for at least 4.5:1 for normal text.