#5F666E color
The hex color #5F666E is a gray.
In the RGB color model it is made of 37.3% red, 40% green and 43.1% blue (95, 102, 110).
Its hue angle is 212°, with 7% saturation and 40% lightness. For print, the CMYK equivalent is 14% cyan, 7% magenta, 0% yellow and 57% black.
The closest named color is Streets of London (#59656D), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.81:1).
#5F666E color codes
| HEX | #5F666E | |
|---|---|---|
| RGB | rgb(95, 102, 110) | |
| RGB percent | rgb(37.3%, 40%, 43.1%) | |
| HSL | hsl(212, 7%, 40%) | |
| HSV / HSB | hsv(212, 14%, 43%) | |
| CMYK | cmyk(14%, 7%, 0%, 57%) | |
| CIE LAB | lab(42.86, -0.89, -5.42) | |
| CIE LCH | lch(42.86, 5.49, 260.7) | |
| CIE XYZ | xyz(12.285, 13.061, 16.623) | |
| Decimal | 6252142 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5F666E, 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 #5F666E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.61:1 | Fail | Fail | Pass |
| Sample text | 5.81:1 | Pass | Fail | Pass |
| #5F666E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.81:1 | Pass | Fail | Pass |
| Sample text | 3.61: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 #5F666E looks to people with the most common types of color vision deficiency.
#63666eProtanopia
no red cones#62656eDeuteranopia
no green cones#5b6868Tritanopia
no blue cones#656565Achromatopsia
no color vision
CSS examples
.background { background-color: #5f666e; }
.text { color: #5f666e; }
.border { border: 2px solid #5f666e; }
.transparent { background-color: rgb(95 102 110 / 50%); }
.gradient { background: linear-gradient(to right, #5f666e, #605f6e); }
Similar colors
#59656dStreets of London#616669Gray Web#656874Alley Cat#686d70Beautiful Darkness#5a5e61Blindfolded#656e72Batman#566373Midnight Shadow#535e64Lava Rock
Closest common color name: Dim Gray.
Questions
- What color is #5F666E?
- #5F666E is a gray, closest to the named color Streets of London. It belongs to the gray family of colors.
- What is the RGB value of #5F666E?
- The RGB value is 95, 102, 110: 95 red, 102 green and 110 blue on a 0 to 255 scale.
- What is the complementary color of #5F666E?
- The complementary color is #6E675F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5F666E?
- White text. Black text has a contrast ratio of 3.61:1 and white text 5.81:1. WCAG asks for at least 4.5:1 for normal text.