#5A501C color
The hex color #5A501C is a dark, moderate yellow.
In the RGB color model it is made of 35.3% red, 31.4% green and 11% blue (90, 80, 28).
Its hue angle is 50°, with 53% saturation and 23% lightness. For print, the CMYK equivalent is 0% cyan, 11% magenta, 69% yellow and 65% black.
The closest named color is Reptile Revenge (#5E582B), a difference of 3.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.08:1).
#5A501C color codes
| HEX | #5A501C | |
|---|---|---|
| RGB | rgb(90, 80, 28) | |
| RGB percent | rgb(35.3%, 31.4%, 11%) | |
| HSL | hsl(50, 53%, 23%) | |
| HSV / HSB | hsv(50, 69%, 35%) | |
| CMYK | cmyk(0%, 11%, 69%, 65%) | |
| CIE LAB | lab(33.97, -2.91, 31.22) | |
| CIE LCH | lch(33.97, 31.35, 95.33) | |
| CIE XYZ | xyz(7.295, 7.995, 2.257) | |
| Decimal | 5918748 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A501C, 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 #5A501C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.6:1 | Fail | Fail | Fail |
| Sample text | 8.08:1 | Pass | Pass | Pass |
| #5A501C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.08:1 | Pass | Pass | Pass |
| Sample text | 2.6: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 #5A501C looks to people with the most common types of color vision deficiency.
#584e16Protanopia
no red cones#5b511fDeuteranopia
no green cones#614a45Tritanopia
no blue cones#505050Achromatopsia
no color vision
CSS examples
.background { background-color: #5a501c; }
.text { color: #5a501c; }
.border { border: 2px solid #5a501c; }
.transparent { background-color: rgb(90 80 28 / 50%); }
.gradient { background: linear-gradient(to right, #5a501c, #455a1c); }
Similar colors
#5e582bReptile Revenge#665500Ayahuasca Vine#444411Alligator Gladiator#5f5537Olive Bark#6e592cOlivary#4b5320Army Green#404404Green Not Found#736330Himalaya
Questions
- What color is #5A501C?
- #5A501C is a dark, moderate yellow, closest to the named color Reptile Revenge. It belongs to the yellow family of colors.
- What is the RGB value of #5A501C?
- The RGB value is 90, 80, 28: 90 red, 80 green and 28 blue on a 0 to 255 scale.
- What is the complementary color of #5A501C?
- The complementary color is #1C265A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A501C?
- White text. Black text has a contrast ratio of 2.6:1 and white text 8.08:1. WCAG asks for at least 4.5:1 for normal text.