#5F5B2D color
The hex color #5F5B2D is a dark, desaturated yellow.
In the RGB color model it is made of 37.3% red, 35.7% green and 17.6% blue (95, 91, 45).
Its hue angle is 55°, with 36% saturation and 27% lightness. For print, the CMYK equivalent is 0% cyan, 4% magenta, 53% yellow and 63% black.
The closest named color is Reptile Revenge (#5E582B), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 6.95:1).
#5F5B2D color codes
| HEX | #5F5B2D | |
|---|---|---|
| RGB | rgb(95, 91, 45) | |
| RGB percent | rgb(37.3%, 35.7%, 17.6%) | |
| HSL | hsl(55, 36%, 27%) | |
| HSV / HSB | hsv(55, 53%, 37%) | |
| CMYK | cmyk(0%, 4%, 53%, 63%) | |
| CIE LAB | lab(38.03, -5.55, 26.88) | |
| CIE LCH | lch(38.03, 27.45, 101.66) | |
| CIE XYZ | xyz(8.934, 10.105, 3.962) | |
| Decimal | 6249261 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5F5B2D, 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 #5F5B2D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.02:1 | Fail | Fail | Pass |
| Sample text | 6.95:1 | Pass | Fail | Pass |
| #5F5B2D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.95:1 | Pass | Fail | Pass |
| Sample text | 3.02: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 #5F5B2D looks to people with the most common types of color vision deficiency.
#625829Protanopia
no red cones#635b2fDeuteranopia
no green cones#655650Tritanopia
no blue cones#595959Achromatopsia
no color vision
CSS examples
.background { background-color: #5f5b2d; }
.text { color: #5f5b2d; }
.border { border: 2px solid #5f5b2d; }
.transparent { background-color: rgb(95 91 45 / 50%); }
.gradient { background: linear-gradient(to right, #5f5b2d, #4a5f2d); }
Similar colors
#5e582bReptile Revenge#69673aJungle Civilization#5f5537Olive Bark#4b5320Army Green#696845Eat Your Greens#736330Himalaya#6e6a44Beat Around the Bush#585d40Cypress
Questions
- What color is #5F5B2D?
- #5F5B2D is a dark, desaturated yellow, closest to the named color Reptile Revenge. It belongs to the yellow family of colors.
- What is the RGB value of #5F5B2D?
- The RGB value is 95, 91, 45: 95 red, 91 green and 45 blue on a 0 to 255 scale.
- What is the complementary color of #5F5B2D?
- The complementary color is #2D315F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5F5B2D?
- White text. Black text has a contrast ratio of 3.02:1 and white text 6.95:1. WCAG asks for at least 4.5:1 for normal text.