#5F5938 color
The hex color #5F5938 is a dark, desaturated yellow.
In the RGB color model it is made of 37.3% red, 34.9% green and 22% blue (95, 89, 56).
Its hue angle is 51°, with 26% saturation and 30% lightness. For print, the CMYK equivalent is 0% cyan, 6% magenta, 41% yellow and 63% black.
The closest named color is Olive Bark (#5F5537), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.06:1).
#5F5938 color codes
| HEX | #5F5938 | |
|---|---|---|
| RGB | rgb(95, 89, 56) | |
| RGB percent | rgb(37.3%, 34.9%, 22%) | |
| HSL | hsl(51, 26%, 30%) | |
| HSV / HSB | hsv(51, 41%, 37%) | |
| CMYK | cmyk(0%, 6%, 41%, 63%) | |
| CIE LAB | lab(37.6, -3.07, 19.98) | |
| CIE LCH | lch(37.6, 20.22, 98.74) | |
| CIE XYZ | xyz(9.006, 9.863, 5.17) | |
| Decimal | 6248760 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5F5938, 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 #5F5938 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.97:1 | Fail | Fail | Fail |
| Sample text | 7.06:1 | Pass | Pass | Pass |
| #5F5938 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.06:1 | Pass | Pass | Pass |
| Sample text | 2.97: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 #5F5938 looks to people with the most common types of color vision deficiency.
#5f5736Protanopia
no red cones#615a39Deuteranopia
no green cones#655551Tritanopia
no blue cones#585858Achromatopsia
no color vision
CSS examples
.background { background-color: #5f5938; }
.text { color: #5f5938; }
.border { border: 2px solid #5f5938; }
.transparent { background-color: rgb(95 89 56 / 50%); }
.gradient { background: linear-gradient(to right, #5f5938, #525f38); }
Similar colors
#5f5537Olive Bark#5e582bReptile Revenge#4f4d32Jungle King#6b6047Ochicha Latte#585d40Cypress#696845Eat Your Greens#595d45Tree of Life#69673aJungle Civilization
Closest common color name: Army Green.
Questions
- What color is #5F5938?
- #5F5938 is a dark, desaturated yellow, closest to the named color Olive Bark. It belongs to the yellow family of colors.
- What is the RGB value of #5F5938?
- The RGB value is 95, 89, 56: 95 red, 89 green and 56 blue on a 0 to 255 scale.
- What is the complementary color of #5F5938?
- The complementary color is #383E5F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5F5938?
- White text. Black text has a contrast ratio of 2.97:1 and white text 7.06:1. WCAG asks for at least 4.5:1 for normal text.