#5B6D51 color
The hex color #5B6D51 is a dark, grayish green.
In the RGB color model it is made of 35.7% red, 42.7% green and 31.8% blue (91, 109, 81).
Its hue angle is 99°, with 15% saturation and 37% lightness. For print, the CMYK equivalent is 17% cyan, 0% magenta, 26% yellow and 57% black.
The closest named color is Cactus (#5B6F55), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 5.6:1).
#5B6D51 color codes
| HEX | #5B6D51 | |
|---|---|---|
| RGB | rgb(91, 109, 81) | |
| RGB percent | rgb(35.7%, 42.7%, 31.8%) | |
| HSL | hsl(99, 15%, 37%) | |
| HSV / HSB | hsv(99, 26%, 43%) | |
| CMYK | cmyk(17%, 0%, 26%, 57%) | |
| CIE LAB | lab(43.88, -12.48, 13.48) | |
| CIE LCH | lch(43.88, 18.37, 132.8) | |
| CIE XYZ | xyz(11.268, 13.755, 9.844) | |
| Decimal | 5991761 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5B6D51, 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 #5B6D51 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.75:1 | Fail | Fail | Pass |
| Sample text | 5.6:1 | Pass | Fail | Pass |
| #5B6D51 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.6:1 | Pass | Fail | Pass |
| Sample text | 3.75: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 #5B6D51 looks to people with the most common types of color vision deficiency.
#6f694fProtanopia
no red cones#6c6752Deuteranopia
no green cones#5b6b65Tritanopia
no blue cones#686868Achromatopsia
no color vision
CSS examples
.background { background-color: #5b6d51; }
.text { color: #5b6d51; }
.border { border: 2px solid #5b6d51; }
.transparent { background-color: rgb(91 109 81 / 50%); }
.gradient { background: linear-gradient(to right, #5b6d51, #516d55); }
Similar colors
#5b6f55Cactus#616c51Hinterland#5f674bMonstera#5f6957Italian Basil#53734cIrish Clover#666a47Bancha#4b5d46Muddy Olive#6f7755Dill
Closest common color name: Ebony.
Questions
- What color is #5B6D51?
- #5B6D51 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 #5B6D51?
- The RGB value is 91, 109, 81: 91 red, 109 green and 81 blue on a 0 to 255 scale.
- What is the complementary color of #5B6D51?
- The complementary color is #63516D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5B6D51?
- White text. Black text has a contrast ratio of 3.75:1 and white text 5.6:1. WCAG asks for at least 4.5:1 for normal text.