#5A5F34 color
The hex color #5A5F34 is a dark, desaturated yellow.
In the RGB color model it is made of 35.3% red, 37.3% green and 20.4% blue (90, 95, 52).
Its hue angle is 67°, with 29% saturation and 29% lightness. For print, the CMYK equivalent is 5% cyan, 0% magenta, 45% yellow and 63% black.
The closest named color is Cypress (#585D40), a difference of 4.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.73:1).
#5A5F34 color codes
| HEX | #5A5F34 | |
|---|---|---|
| RGB | rgb(90, 95, 52) | |
| RGB percent | rgb(35.3%, 37.3%, 20.4%) | |
| HSL | hsl(67, 29%, 29%) | |
| HSV / HSB | hsv(67, 45%, 37%) | |
| CMYK | cmyk(5%, 0%, 45%, 63%) | |
| CIE LAB | lab(38.91, -9.38, 23.9) | |
| CIE LCH | lch(38.91, 25.67, 111.44) | |
| CIE XYZ | xyz(8.929, 10.606, 4.825) | |
| Decimal | 5922612 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A5F34, 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 #5A5F34 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.12:1 | Fail | Fail | Pass |
| Sample text | 6.73:1 | Pass | Fail | Pass |
| #5A5F34 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.73:1 | Pass | Fail | Pass |
| Sample text | 3.12: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 #5A5F34 looks to people with the most common types of color vision deficiency.
#655b31Protanopia
no red cones#645c36Deuteranopia
no green cones#5f5b55Tritanopia
no blue cones#5c5c5cAchromatopsia
no color vision
CSS examples
.background { background-color: #5a5f34; }
.text { color: #5a5f34; }
.border { border: 2px solid #5a5f34; }
.transparent { background-color: rgb(90 95 52 / 50%); }
.gradient { background: linear-gradient(to right, #5a5f34, #455f34); }
Similar colors
#585d40Cypress#69673aJungle Civilization#5e582bReptile Revenge#666a47Bancha#4b5320Army Green#696845Eat Your Greens#5f674bMonstera#54682bBimi Green
Questions
- What color is #5A5F34?
- #5A5F34 is a dark, desaturated yellow, closest to the named color Cypress. It belongs to the yellow family of colors.
- What is the RGB value of #5A5F34?
- The RGB value is 90, 95, 52: 90 red, 95 green and 52 blue on a 0 to 255 scale.
- What is the complementary color of #5A5F34?
- The complementary color is #39345F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A5F34?
- White text. Black text has a contrast ratio of 3.12:1 and white text 6.73:1. WCAG asks for at least 4.5:1 for normal text.