#5A6851 color
The hex color #5A6851 is a dark, grayish green.
In the RGB color model it is made of 35.3% red, 40.8% green and 31.8% blue (90, 104, 81).
Its hue angle is 97°, with 12% saturation and 36% lightness. For print, the CMYK equivalent is 13% cyan, 0% magenta, 22% yellow and 59% black.
The closest named color is Hinterland (#616C51), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.94:1).
#5A6851 color codes
| HEX | #5A6851 | |
|---|---|---|
| RGB | rgb(90, 104, 81) | |
| RGB percent | rgb(35.3%, 40.8%, 31.8%) | |
| HSL | hsl(97, 12%, 36%) | |
| HSV / HSB | hsv(97, 22%, 41%) | |
| CMYK | cmyk(13%, 0%, 22%, 59%) | |
| CIE LAB | lab(42.26, -10.05, 11.22) | |
| CIE LCH | lch(42.26, 15.07, 131.85) | |
| CIE XYZ | xyz(10.652, 12.668, 9.667) | |
| Decimal | 5924945 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A6851, 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 #5A6851 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.53:1 | Fail | Fail | Pass |
| Sample text | 5.94:1 | Pass | Fail | Pass |
| #5A6851 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.94:1 | Pass | Fail | Pass |
| Sample text | 3.53: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 #5A6851 looks to people with the most common types of color vision deficiency.
#6a6450Protanopia
no red cones#686352Deuteranopia
no green cones#5a6662Tritanopia
no blue cones#646464Achromatopsia
no color vision
CSS examples
.background { background-color: #5a6851; }
.text { color: #5a6851; }
.border { border: 2px solid #5a6851; }
.transparent { background-color: rgb(90 104 81 / 50%); }
.gradient { background: linear-gradient(to right, #5a6851, #516853); }
Similar colors
#616c51Hinterland#5f6957Italian Basil#5f674bMonstera#5b6f55Cactus#4b5d46Muddy Olive#5e6354Black Forest#595d45Tree of Life#4e5a4aVerdant Hush
Closest common color name: Ebony.
Questions
- What color is #5A6851?
- #5A6851 is a dark, grayish green, closest to the named color Hinterland. It belongs to the green family of colors.
- What is the RGB value of #5A6851?
- The RGB value is 90, 104, 81: 90 red, 104 green and 81 blue on a 0 to 255 scale.
- What is the complementary color of #5A6851?
- The complementary color is #5F5168, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A6851?
- White text. Black text has a contrast ratio of 3.53:1 and white text 5.94:1. WCAG asks for at least 4.5:1 for normal text.