#5B6C51 color
The hex color #5B6C51 is a dark, grayish green.
In the RGB color model it is made of 35.7% red, 42.4% green and 31.8% blue (91, 108, 81).
Its hue angle is 98°, with 14% saturation and 37% lightness. For print, the CMYK equivalent is 16% cyan, 0% magenta, 25% yellow and 58% black.
The closest named color is Cactus (#5B6F55), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 5.66:1).
#5B6C51 color codes
| HEX | #5B6C51 | |
|---|---|---|
| RGB | rgb(91, 108, 81) | |
| RGB percent | rgb(35.7%, 42.4%, 31.8%) | |
| HSL | hsl(98, 14%, 37%) | |
| HSV / HSB | hsv(98, 25%, 42%) | |
| CMYK | cmyk(16%, 0%, 25%, 58%) | |
| CIE LAB | lab(43.57, -11.92, 13.05) | |
| CIE LCH | lch(43.57, 17.67, 132.4) | |
| CIE XYZ | xyz(11.162, 13.543, 9.809) | |
| Decimal | 5991505 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5B6C51, 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 #5B6C51 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.71:1 | Fail | Fail | Pass |
| Sample text | 5.66:1 | Pass | Fail | Pass |
| #5B6C51 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.66:1 | Pass | Fail | Pass |
| Sample text | 3.71: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 #5B6C51 looks to people with the most common types of color vision deficiency.
#6e684fProtanopia
no red cones#6c6652Deuteranopia
no green cones#5b6a65Tritanopia
no blue cones#676767Achromatopsia
no color vision
CSS examples
.background { background-color: #5b6c51; }
.text { color: #5b6c51; }
.border { border: 2px solid #5b6c51; }
.transparent { background-color: rgb(91 108 81 / 50%); }
.gradient { background: linear-gradient(to right, #5b6c51, #516c54); }
Similar colors
#5b6f55Cactus#616c51Hinterland#5f674bMonstera#5f6957Italian Basil#53734cIrish Clover#4b5d46Muddy Olive#666a47Bancha#6f7755Dill
Closest common color name: Ebony.
Questions
- What color is #5B6C51?
- #5B6C51 is a dark, grayish green, closest to the named color Cactus. It belongs to the green family of colors.
- What is the RGB value of #5B6C51?
- The RGB value is 91, 108, 81: 91 red, 108 green and 81 blue on a 0 to 255 scale.
- What is the complementary color of #5B6C51?
- The complementary color is #62516C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5B6C51?
- White text. Black text has a contrast ratio of 3.71:1 and white text 5.66:1. WCAG asks for at least 4.5:1 for normal text.