#5D5938 color
The hex color #5D5938 is a dark, grayish yellow.
In the RGB color model it is made of 36.5% red, 34.9% green and 22% blue (93, 89, 56).
Its hue angle is 54°, with 25% saturation and 29% lightness. For print, the CMYK equivalent is 0% cyan, 4% magenta, 40% yellow and 64% black.
The closest named color is Reptile Revenge (#5E582B), a difference of 3.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.12:1).
#5D5938 color codes
| HEX | #5D5938 | |
|---|---|---|
| RGB | rgb(93, 89, 56) | |
| RGB percent | rgb(36.5%, 34.9%, 22%) | |
| HSL | hsl(54, 25%, 29%) | |
| HSV / HSB | hsv(54, 40%, 36%) | |
| CMYK | cmyk(0%, 4%, 40%, 64%) | |
| CIE LAB | lab(37.4, -3.99, 19.7) | |
| CIE LCH | lch(37.4, 20.1, 101.45) | |
| CIE XYZ | xyz(8.801, 9.758, 5.16) | |
| Decimal | 6117688 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5D5938, 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 #5D5938 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.95:1 | Fail | Fail | Fail |
| Sample text | 7.12:1 | Pass | Pass | Pass |
| #5D5938 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.12:1 | Pass | Pass | Pass |
| Sample text | 2.95: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 #5D5938 looks to people with the most common types of color vision deficiency.
#5f5736Protanopia
no red cones#605939Deuteranopia
no green cones#625551Tritanopia
no blue cones#585858Achromatopsia
no color vision
CSS examples
.background { background-color: #5d5938; }
.text { color: #5d5938; }
.border { border: 2px solid #5d5938; }
.transparent { background-color: rgb(93 89 56 / 50%); }
.gradient { background: linear-gradient(to right, #5d5938, #4e5d38); }
Similar colors
#5e582bReptile Revenge#5f5537Olive Bark#585d40Cypress#4f4d32Jungle King#595d45Tree of Life#696845Eat Your Greens#69673aJungle Civilization#4e4b35Olive Leaf
Closest common color name: Army Green.
Questions
- What color is #5D5938?
- #5D5938 is a dark, grayish yellow, closest to the named color Reptile Revenge. It belongs to the yellow family of colors.
- What is the RGB value of #5D5938?
- The RGB value is 93, 89, 56: 93 red, 89 green and 56 blue on a 0 to 255 scale.
- What is the complementary color of #5D5938?
- The complementary color is #383C5D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5D5938?
- White text. Black text has a contrast ratio of 2.95:1 and white text 7.12:1. WCAG asks for at least 4.5:1 for normal text.