#5B5E5E color
The hex color #5B5E5E is a gray.
In the RGB color model it is made of 35.7% red, 36.9% green and 36.9% blue (91, 94, 94).
Its hue angle is 180°, with 2% saturation and 36% lightness. For print, the CMYK equivalent is 3% cyan, 0% magenta, 0% yellow and 63% black.
The closest named color is Knight’s Armour (#5C5D5D), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 6.55:1).
#5B5E5E color codes
| HEX | #5B5E5E | |
|---|---|---|
| RGB | rgb(91, 94, 94) | |
| RGB percent | rgb(35.7%, 36.9%, 36.9%) | |
| HSL | hsl(180, 2%, 36%) | |
| HSV / HSB | hsv(180, 3%, 37%) | |
| CMYK | cmyk(3%, 0%, 0%, 63%) | |
| CIE LAB | lab(39.64, -1.18, -0.41) | |
| CIE LCH | lch(39.64, 1.25, 199.24) | |
| CIE XYZ | xyz(10.337, 11.038, 12.173) | |
| Decimal | 5987934 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5B5E5E, 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 #5B5E5E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.21:1 | Fail | Fail | Pass |
| Sample text | 6.55:1 | Pass | Fail | Pass |
| #5B5E5E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.55:1 | Pass | Fail | Pass |
| Sample text | 3.21: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 #5B5E5E looks to people with the most common types of color vision deficiency.
#5e5e5eProtanopia
no red cones#5d5d5eDeuteranopia
no green cones#5a5e5eTritanopia
no blue cones#5d5d5dAchromatopsia
no color vision
CSS examples
.background { background-color: #5b5e5e; }
.text { color: #5b5e5e; }
.border { border: 2px solid #5b5e5e; }
.transparent { background-color: rgb(91 94 94 / 50%); }
.gradient { background: linear-gradient(to right, #5b5e5e, #5b5d5e); }
Similar colors
#5c5d5dKnight’s Armour#5e5e5eIron#5a5e61Blindfolded#555b59Crucible#566062Yacht Club#616669Gray Web#555555Stone Cold#535e64Lava Rock
Closest common color name: Dim Gray.
Questions
- What color is #5B5E5E?
- #5B5E5E is a gray, closest to the named color Knight’s Armour. It belongs to the gray family of colors.
- What is the RGB value of #5B5E5E?
- The RGB value is 91, 94, 94: 91 red, 94 green and 94 blue on a 0 to 255 scale.
- What is the complementary color of #5B5E5E?
- The complementary color is #5E5B5B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5B5E5E?
- White text. Black text has a contrast ratio of 3.21:1 and white text 6.55:1. WCAG asks for at least 4.5:1 for normal text.