#5A512A color
The hex color #5A512A is a dark, desaturated yellow.
In the RGB color model it is made of 35.3% red, 31.8% green and 16.5% blue (90, 81, 42).
Its hue angle is 49°, with 36% saturation and 26% lightness. For print, the CMYK equivalent is 0% cyan, 10% magenta, 53% yellow and 65% black.
The closest named color is Reptile Revenge (#5E582B), a difference of 3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.94:1).
#5A512A color codes
| HEX | #5A512A | |
|---|---|---|
| RGB | rgb(90, 81, 42) | |
| RGB percent | rgb(35.3%, 31.8%, 16.5%) | |
| HSL | hsl(49, 36%, 26%) | |
| HSV / HSB | hsv(49, 53%, 35%) | |
| CMYK | cmyk(0%, 10%, 53%, 65%) | |
| CIE LAB | lab(34.45, -2.26, 24.13) | |
| CIE LCH | lch(34.45, 24.24, 95.36) | |
| CIE XYZ | xyz(7.577, 8.226, 3.379) | |
| Decimal | 5919018 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A512A, 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 #5A512A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.65:1 | Fail | Fail | Fail |
| Sample text | 7.94:1 | Pass | Pass | Pass |
| #5A512A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.94:1 | Pass | Pass | Pass |
| Sample text | 2.65: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 #5A512A looks to people with the most common types of color vision deficiency.
#584f27Protanopia
no red cones#5a522cDeuteranopia
no green cones#604c48Tritanopia
no blue cones#515151Achromatopsia
no color vision
CSS examples
.background { background-color: #5a512a; }
.text { color: #5a512a; }
.border { border: 2px solid #5a512a; }
.transparent { background-color: rgb(90 81 42 / 50%); }
.gradient { background: linear-gradient(to right, #5a512a, #4b5a2a); }
Similar colors
#5e582bReptile Revenge#5f5537Olive Bark#4f4d32Jungle King#6e592cOlivary#4e4b35Olive Leaf#654f2dJungle Beat#444411Alligator Gladiator#473e23Madras
Closest common color name: Army Green.
Questions
- What color is #5A512A?
- #5A512A is a dark, desaturated yellow, closest to the named color Reptile Revenge. It belongs to the brown family of colors.
- What is the RGB value of #5A512A?
- The RGB value is 90, 81, 42: 90 red, 81 green and 42 blue on a 0 to 255 scale.
- What is the complementary color of #5A512A?
- The complementary color is #2A335A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A512A?
- White text. Black text has a contrast ratio of 2.65:1 and white text 7.94:1. WCAG asks for at least 4.5:1 for normal text.