#5B5640 color
The hex color #5B5640 is a dark, grayish yellow.
In the RGB color model it is made of 35.7% red, 33.7% green and 25.1% blue (91, 86, 64).
Its hue angle is 49°, with 17% saturation and 30% lightness. For print, the CMYK equivalent is 0% cyan, 5% magenta, 30% yellow and 64% black.
The closest named color is Olive Bark (#5F5537), a difference of 3.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.37:1).
#5B5640 color codes
| HEX | #5B5640 | |
|---|---|---|
| RGB | rgb(91, 86, 64) | |
| RGB percent | rgb(35.7%, 33.7%, 25.1%) | |
| HSL | hsl(49, 17%, 30%) | |
| HSV / HSB | hsv(49, 30%, 36%) | |
| CMYK | cmyk(0%, 5%, 30%, 64%) | |
| CIE LAB | lab(36.46, -1.94, 13.57) | |
| CIE LCH | lch(36.46, 13.71, 98.13) | |
| CIE XYZ | xyz(8.568, 9.25, 6.184) | |
| Decimal | 5985856 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5B5640, 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 #5B5640 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.85:1 | Fail | Fail | Fail |
| Sample text | 7.37:1 | Pass | Pass | Pass |
| #5B5640 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.37:1 | Pass | Pass | Pass |
| Sample text | 2.85:1 | Fail | Fail | Fail |
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 #5B5640 looks to people with the most common types of color vision deficiency.
#5a553fProtanopia
no red cones#5c5741Deuteranopia
no green cones#5f5350Tritanopia
no blue cones#565656Achromatopsia
no color vision
CSS examples
.background { background-color: #5b5640; }
.text { color: #5b5640; }
.border { border: 2px solid #5b5640; }
.transparent { background-color: rgb(91 86 64 / 50%); }
.gradient { background: linear-gradient(to right, #5b5640, #525b40); }
Similar colors
#5f5537Olive Bark#4e4b35Olive Leaf#4f4d32Jungle King#67614fIvy Topiary#4d503cKelp#6b6047Ochicha Latte#595d45Tree of Life#585d40Cypress
Closest common color name: Ebony.
Questions
- What color is #5B5640?
- #5B5640 is a dark, grayish yellow, closest to the named color Olive Bark. It belongs to the brown family of colors.
- What is the RGB value of #5B5640?
- The RGB value is 91, 86, 64: 91 red, 86 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #5B5640?
- The complementary color is #40455B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5B5640?
- White text. Black text has a contrast ratio of 2.85:1 and white text 7.37:1. WCAG asks for at least 4.5:1 for normal text.