#5E5F5B color
The hex color #5E5F5B is a gray.
In the RGB color model it is made of 36.9% red, 37.3% green and 35.7% blue (94, 95, 91).
Its hue angle is 75°, with 2% saturation and 36% lightness. For print, the CMYK equivalent is 1% cyan, 0% magenta, 4% yellow and 63% black.
The closest named color is Knight’s Armour (#5C5D5D), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.43:1).
#5E5F5B color codes
| HEX | #5E5F5B | |
|---|---|---|
| RGB | rgb(94, 95, 91) | |
| RGB percent | rgb(36.9%, 37.3%, 35.7%) | |
| HSL | hsl(75, 2%, 36%) | |
| HSV / HSB | hsv(75, 4%, 37%) | |
| CMYK | cmyk(1%, 0%, 4%, 63%) | |
| CIE LAB | lab(40.11, -1.22, 2.15) | |
| CIE LCH | lch(40.11, 2.47, 119.67) | |
| CIE XYZ | xyz(10.596, 11.319, 11.522) | |
| Decimal | 6184795 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5E5F5B, 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 #5E5F5B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.26:1 | Fail | Fail | Pass |
| Sample text | 6.43:1 | Pass | Fail | Pass |
| #5E5F5B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.43:1 | Pass | Fail | Pass |
| Sample text | 3.26: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 #5E5F5B looks to people with the most common types of color vision deficiency.
#605e5bProtanopia
no red cones#605f5bDeuteranopia
no green cones#5e5f5eTritanopia
no blue cones#5f5f5fAchromatopsia
no color vision
CSS examples
.background { background-color: #5e5f5b; }
.text { color: #5e5f5b; }
.border { border: 2px solid #5e5f5b; }
.transparent { background-color: rgb(94 95 91 / 50%); }
.gradient { background: linear-gradient(to right, #5e5f5b, #5c5f5b); }
Similar colors
#5c5d5dKnight’s Armour#5e5e5eIron#555b59Crucible#625c58Caveman#5a5e61Blindfolded#555555Stone Cold#6b6965Volcanic Rock#6a6b65Armoury
Closest common color name: Dim Gray.
Questions
- What color is #5E5F5B?
- #5E5F5B 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 #5E5F5B?
- The RGB value is 94, 95, 91: 94 red, 95 green and 91 blue on a 0 to 255 scale.
- What is the complementary color of #5E5F5B?
- The complementary color is #5C5B5F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5E5F5B?
- White text. Black text has a contrast ratio of 3.26:1 and white text 6.43:1. WCAG asks for at least 4.5:1 for normal text.