#5A6948 color
The hex color #5A6948 is a dark, grayish yellow-green.
In the RGB color model it is made of 35.3% red, 41.2% green and 28.2% blue (90, 105, 72).
Its hue angle is 87°, with 19% saturation and 35% lightness. For print, the CMYK equivalent is 14% cyan, 0% magenta, 31% yellow and 59% black.
The closest named color is Hinterland (#616C51), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.92:1).
#5A6948 color codes
| HEX | #5A6948 | |
|---|---|---|
| RGB | rgb(90, 105, 72) | |
| RGB percent | rgb(35.3%, 41.2%, 28.2%) | |
| HSL | hsl(87, 19%, 35%) | |
| HSV / HSB | hsv(87, 31%, 41%) | |
| CMYK | cmyk(14%, 0%, 31%, 59%) | |
| CIE LAB | lab(42.38, -12.18, 16.74) | |
| CIE LCH | lch(42.38, 20.71, 126.04) | |
| CIE XYZ | xyz(10.438, 12.745, 8.04) | |
| Decimal | 5925192 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A6948, 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 #5A6948 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.55:1 | Fail | Fail | Pass |
| Sample text | 5.92:1 | Pass | Fail | Pass |
| #5A6948 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.92:1 | Pass | Fail | Pass |
| Sample text | 3.55: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 #5A6948 looks to people with the most common types of color vision deficiency.
#6c6546Protanopia
no red cones#6a644aDeuteranopia
no green cones#5c6660Tritanopia
no blue cones#646464Achromatopsia
no color vision
CSS examples
.background { background-color: #5a6948; }
.text { color: #5a6948; }
.border { border: 2px solid #5a6948; }
.transparent { background-color: rgb(90 105 72 / 50%); }
.gradient { background: linear-gradient(to right, #5a6948, #4a6948); }
Similar colors
#616c51Hinterland#5f674bMonstera#5b6f55Cactus#666a47Bancha#585d40Cypress#53734cIrish Clover#4b5d46Muddy Olive#5f6957Italian Basil
Closest common color name: Dark Olive Green.
Questions
- What color is #5A6948?
- #5A6948 is a dark, grayish yellow-green, closest to the named color Hinterland. It belongs to the green family of colors.
- What is the RGB value of #5A6948?
- The RGB value is 90, 105, 72: 90 red, 105 green and 72 blue on a 0 to 255 scale.
- What is the complementary color of #5A6948?
- The complementary color is #574869, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A6948?
- White text. Black text has a contrast ratio of 3.55:1 and white text 5.92:1. WCAG asks for at least 4.5:1 for normal text.