#5B5F4B color
The hex color #5B5F4B is a dark, grayish yellow-green.
In the RGB color model it is made of 35.7% red, 37.3% green and 29.4% blue (91, 95, 75).
Its hue angle is 72°, with 12% saturation and 33% lightness. For print, the CMYK equivalent is 4% cyan, 0% magenta, 21% yellow and 63% black.
The closest named color is Tree of Life (#595D45), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 6.6:1).
#5B5F4B color codes
| HEX | #5B5F4B | |
|---|---|---|
| RGB | rgb(91, 95, 75) | |
| RGB percent | rgb(35.7%, 37.3%, 29.4%) | |
| HSL | hsl(72, 12%, 33%) | |
| HSV / HSB | hsv(72, 21%, 37%) | |
| CMYK | cmyk(4%, 0%, 21%, 63%) | |
| CIE LAB | lab(39.44, -5.49, 10.95) | |
| CIE LCH | lch(39.44, 12.25, 116.66) | |
| CIE XYZ | xyz(9.676, 10.917, 8.253) | |
| Decimal | 5988171 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5B5F4B, 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 #5B5F4B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.18:1 | Fail | Fail | Pass |
| Sample text | 6.6:1 | Pass | Fail | Pass |
| #5B5F4B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.6:1 | Pass | Fail | Pass |
| Sample text | 3.18: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 #5B5F4B looks to people with the most common types of color vision deficiency.
#625d4aProtanopia
no red cones#625d4cDeuteranopia
no green cones#5d5d59Tritanopia
no blue cones#5d5d5dAchromatopsia
no color vision
CSS examples
.background { background-color: #5b5f4b; }
.text { color: #5b5f4b; }
.border { border: 2px solid #5b5f4b; }
.transparent { background-color: rgb(91 95 75 / 50%); }
.gradient { background: linear-gradient(to right, #5b5f4b, #515f4b); }
Similar colors
#595d45Tree of Life#5e6354Black Forest#585d40Cypress#555d50Ebony#5f674bMonstera#5f6957Italian Basil#4e5a4aVerdant Hush#4d503cKelp
Questions
- What color is #5B5F4B?
- #5B5F4B is a dark, grayish yellow-green, closest to the named color Tree of Life. It belongs to the gray family of colors.
- What is the RGB value of #5B5F4B?
- The RGB value is 91, 95, 75: 91 red, 95 green and 75 blue on a 0 to 255 scale.
- What is the complementary color of #5B5F4B?
- The complementary color is #4F4B5F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5B5F4B?
- White text. Black text has a contrast ratio of 3.18:1 and white text 6.6:1. WCAG asks for at least 4.5:1 for normal text.