#5f666e ≈ Dim Gray
#5f666e is a color from the gray family, with medium lightness and almost no saturation. In the RGB model it is made of 37.25% red, 40% green and 43.14% blue; printed in CMYK it uses 13.64% cyan, 7.27% magenta, 0% yellow and 56.86% black. Its hue angle is 212°, with 7.32% saturation and 40.2% lightness in HSL. It is a neutral color, often associated with neutrality, balance and professionalism. Designers typically use it for body text and typography, corporate identities and brand accents. White text on this color reaches a contrast ratio of 5.81:1 (WCAG AA). The closest named color is Dim Gray (#696969), ΔE 5.16.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #666666 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1306 |
Shades
#5f666e mixed progressively with black.
Tints
#5f666e mixed progressively with white.
Tones
#5f666e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5f666e {
color: #5f666e;
}
.bg-5f666e {
background-color: #5f666e;
color: #ffffff;
}
.border-5f666e {
border: 2px solid #5f666e;
}
:root {
--color-primary: #5f666e;
--color-primary-rgb: 95 102 110;
--color-primary-hsl: 212 7% 40%;
}
.gradient-5f666e {
background: linear-gradient(135deg, #5f666e, #605f6e);
}
.shadow-5f666e {
box-shadow: 0 8px 24px rgb(95 102 110 / 0.35);
}
Dim Gray
#5f666e rgb(95, 102, 110) hsl(212, 7%, 40%) Dim Gray
#6e675f rgb(110, 103, 95) hsl(32, 7%, 40%) Dim Gray
#6e5f66 rgb(110, 95, 102) hsl(332, 7%, 40%) Old Lavender
#666e5f rgb(102, 110, 95) hsl(92, 7%, 40%) Feldgrau