#5A4F0A color
The hex color #5A4F0A is a very dark, vivid yellow.
In the RGB color model it is made of 35.3% red, 31% green and 3.9% blue (90, 79, 10).
Its hue angle is 52°, with 80% saturation and 20% lightness. For print, the CMYK equivalent is 0% cyan, 12% magenta, 89% yellow and 65% black.
The closest named color is Ayahuasca Vine (#665500), a difference of 3.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.21:1).
#5A4F0A color codes
| HEX | #5A4F0A | |
|---|---|---|
| RGB | rgb(90, 79, 10) | |
| RGB percent | rgb(35.3%, 31%, 3.9%) | |
| HSL | hsl(52, 80%, 20%) | |
| HSV / HSB | hsv(52, 89%, 35%) | |
| CMYK | cmyk(0%, 12%, 89%, 65%) | |
| CIE LAB | lab(33.54, -3.27, 38.35) | |
| CIE LCH | lch(33.54, 38.49, 94.87) | |
| CIE XYZ | xyz(7.068, 7.788, 1.418) | |
| Decimal | 5918474 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A4F0A, 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 #5A4F0A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.56:1 | Fail | Fail | Fail |
| Sample text | 8.21:1 | Pass | Pass | Pass |
| #5A4F0A 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 #5A4F0A looks to people with the most common types of color vision deficiency.
#584d00Protanopia
no red cones#5b5110Deuteranopia
no green cones#624843Tritanopia
no blue cones#4f4f4fAchromatopsia
no color vision
CSS examples
.background { background-color: #5a4f0a; }
.text { color: #5a4f0a; }
.border { border: 2px solid #5a4f0a; }
.transparent { background-color: rgb(90 79 10 / 50%); }
.gradient { background: linear-gradient(to right, #5a4f0a, #3d5a0a); }
Similar colors
#665500Ayahuasca Vine#5e582bReptile Revenge#444411Alligator Gladiator#404404Green Not Found#6e592cOlivary#4b5320Army Green#736330Himalaya#5f5537Olive Bark
Questions
- What color is #5A4F0A?
- #5A4F0A is a very dark, vivid yellow, closest to the named color Ayahuasca Vine. It belongs to the yellow family of colors.
- What is the RGB value of #5A4F0A?
- The RGB value is 90, 79, 10: 90 red, 79 green and 10 blue on a 0 to 255 scale.
- What is the complementary color of #5A4F0A?
- The complementary color is #0A155A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A4F0A?
- 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.