#5A4F0B color
The hex color #5A4F0B is a very dark, moderate yellow.
In the RGB color model it is made of 35.3% red, 31% green and 4.3% blue (90, 79, 11).
Its hue angle is 52°, with 78% saturation and 20% lightness. For print, the CMYK equivalent is 0% cyan, 12% magenta, 88% yellow and 65% black.
The closest named color is Ayahuasca Vine (#665500), a difference of 3.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.21:1).
#5A4F0B color codes
| HEX | #5A4F0B | |
|---|---|---|
| RGB | rgb(90, 79, 11) | |
| RGB percent | rgb(35.3%, 31%, 4.3%) | |
| HSL | hsl(52, 78%, 20%) | |
| HSV / HSB | hsv(52, 88%, 35%) | |
| CMYK | cmyk(0%, 12%, 88%, 65%) | |
| CIE LAB | lab(33.54, -3.23, 38.04) | |
| CIE LCH | lch(33.54, 38.17, 94.86) | |
| CIE XYZ | xyz(7.073, 7.79, 1.448) | |
| Decimal | 5918475 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A4F0B, 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 #5A4F0B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.56:1 | Fail | Fail | Fail |
| Sample text | 8.21:1 | Pass | Pass | Pass |
| #5A4F0B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.21:1 | Pass | Pass | Pass |
| Sample text | 2.56: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 #5A4F0B looks to people with the most common types of color vision deficiency.
#584d00Protanopia
no red cones#5b5111Deuteranopia
no green cones#624843Tritanopia
no blue cones#4f4f4fAchromatopsia
no color vision
CSS examples
.background { background-color: #5a4f0b; }
.text { color: #5a4f0b; }
.border { border: 2px solid #5a4f0b; }
.transparent { background-color: rgb(90 79 11 / 50%); }
.gradient { background: linear-gradient(to right, #5a4f0b, #3e5a0b); }
Similar colors
#665500Ayahuasca Vine#5e582bReptile Revenge#444411Alligator Gladiator#404404Green Not Found#6e592cOlivary#4b5320Army Green#736330Himalaya#5f5537Olive Bark
Questions
- What color is #5A4F0B?
- #5A4F0B is a very dark, moderate yellow, closest to the named color Ayahuasca Vine. It belongs to the yellow family of colors.
- What is the RGB value of #5A4F0B?
- The RGB value is 90, 79, 11: 90 red, 79 green and 11 blue on a 0 to 255 scale.
- What is the complementary color of #5A4F0B?
- The complementary color is #0B165A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A4F0B?
- White text. Black text has a contrast ratio of 2.56:1 and white text 8.21:1. WCAG asks for at least 4.5:1 for normal text.