#5D5840 color
The hex color #5D5840 is a dark, grayish yellow.
In the RGB color model it is made of 36.5% red, 34.5% green and 25.1% blue (93, 88, 64).
Its hue angle is 50°, with 18% saturation and 31% lightness. For print, the CMYK equivalent is 0% cyan, 5% magenta, 31% yellow and 64% black.
The closest named color is Olive Bark (#5F5537), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.15:1).
#5D5840 color codes
| HEX | #5D5840 | |
|---|---|---|
| RGB | rgb(93, 88, 64) | |
| RGB percent | rgb(36.5%, 34.5%, 25.1%) | |
| HSL | hsl(50, 18%, 31%) | |
| HSV / HSB | hsv(50, 31%, 36%) | |
| CMYK | cmyk(0%, 5%, 31%, 64%) | |
| CIE LAB | lab(37.26, -2.25, 14.68) | |
| CIE LCH | lch(37.26, 14.86, 98.73) | |
| CIE XYZ | xyz(8.929, 9.677, 6.247) | |
| Decimal | 6117440 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5D5840, 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 #5D5840 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.94:1 | Fail | Fail | Fail |
| Sample text | 7.15:1 | Pass | Pass | Pass |
| #5D5840 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.15:1 | Pass | Pass | Pass |
| Sample text | 2.94: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 #5D5840 looks to people with the most common types of color vision deficiency.
#5d573eProtanopia
no red cones#5e5841Deuteranopia
no green cones#615552Tritanopia
no blue cones#585858Achromatopsia
no color vision
CSS examples
.background { background-color: #5d5840; }
.text { color: #5d5840; }
.border { border: 2px solid #5d5840; }
.transparent { background-color: rgb(93 88 64 / 50%); }
.gradient { background: linear-gradient(to right, #5d5840, #535d40); }
Similar colors
#5f5537Olive Bark#67614fIvy Topiary#4f4d32Jungle King#6b6047Ochicha Latte#4e4b35Olive Leaf#595d45Tree of Life#4d503cKelp#585d40Cypress
Closest common color name: Ebony.
Questions
- What color is #5D5840?
- #5D5840 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 #5D5840?
- The RGB value is 93, 88, 64: 93 red, 88 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #5D5840?
- The complementary color is #40455D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5D5840?
- White text. Black text has a contrast ratio of 2.94:1 and white text 7.15:1. WCAG asks for at least 4.5:1 for normal text.