#5A6142 color
The hex color #5A6142 is a dark, grayish yellow-green.
In the RGB color model it is made of 35.3% red, 38% green and 25.9% blue (90, 97, 66).
Its hue angle is 74°, with 19% saturation and 32% lightness. For print, the CMYK equivalent is 7% cyan, 0% magenta, 32% yellow and 62% black.
The closest named color is Cypress (#585D40), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 6.52:1).
#5A6142 color codes
| HEX | #5A6142 | |
|---|---|---|
| RGB | rgb(90, 97, 66) | |
| RGB percent | rgb(35.3%, 38%, 25.9%) | |
| HSL | hsl(74, 19%, 32%) | |
| HSV / HSB | hsv(74, 32%, 38%) | |
| CMYK | cmyk(7%, 0%, 32%, 62%) | |
| CIE LAB | lab(39.78, -8.58, 16.82) | |
| CIE LCH | lch(39.78, 18.88, 117.03) | |
| CIE XYZ | xyz(9.474, 11.116, 6.8) | |
| Decimal | 5923138 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A6142, 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 #5A6142 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.22:1 | Fail | Fail | Pass |
| Sample text | 6.52:1 | Pass | Fail | Pass |
| #5A6142 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.52:1 | Pass | Fail | Pass |
| Sample text | 3.22: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 #5A6142 looks to people with the most common types of color vision deficiency.
#655e40Protanopia
no red cones#645e43Deuteranopia
no green cones#5d5e59Tritanopia
no blue cones#5e5e5eAchromatopsia
no color vision
CSS examples
.background { background-color: #5a6142; }
.text { color: #5a6142; }
.border { border: 2px solid #5a6142; }
.transparent { background-color: rgb(90 97 66 / 50%); }
.gradient { background: linear-gradient(to right, #5a6142, #4b6142); }
Similar colors
#585d40Cypress#5f674bMonstera#595d45Tree of Life#666a47Bancha#616c51Hinterland#696845Eat Your Greens#4b5338Broccoli Green#49583eHeavy Green
Closest common color name: Ebony.
Questions
- What color is #5A6142?
- #5A6142 is a dark, grayish yellow-green, closest to the named color Cypress. It belongs to the green family of colors.
- What is the RGB value of #5A6142?
- The RGB value is 90, 97, 66: 90 red, 97 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #5A6142?
- The complementary color is #494261, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A6142?
- White text. Black text has a contrast ratio of 3.22:1 and white text 6.52:1. WCAG asks for at least 4.5:1 for normal text.