#7b817f ≈ Battleship Gray
#7b817f is a color from the gray family, with medium lightness and almost no saturation. In the RGB model it is made of 48.24% red, 50.59% green and 49.8% blue; printed in CMYK it uses 4.65% cyan, 0% magenta, 1.55% yellow and 49.41% black. Its hue angle is 160°, with 2.38% saturation and 49.41% 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. Black text on this color reaches a contrast ratio of 5.29:1 (WCAG AA). The closest named color is Battleship Gray (#848482), ΔE 3.53.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #669966 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2144 |
Shades
#7b817f mixed progressively with black.
Tints
#7b817f mixed progressively with white.
Tones
#7b817f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-7b817f {
color: #7b817f;
}
.bg-7b817f {
background-color: #7b817f;
color: #000000;
}
.border-7b817f {
border: 2px solid #7b817f;
}
:root {
--color-primary: #7b817f;
--color-primary-rgb: 123 129 127;
--color-primary-hsl: 160 2% 49%;
}
.gradient-7b817f {
background: linear-gradient(135deg, #7b817f, #7b8081);
}
.shadow-7b817f {
box-shadow: 0 8px 24px rgb(123 129 127 / 0.35);
}
Battleship Gray
#7b817f rgb(123, 129, 127) hsl(160, 2%, 49%) Battleship Gray
#817b7d rgb(129, 123, 125) hsl(340, 2%, 49%) Gray
#7f7b81 rgb(127, 123, 129) hsl(280, 2%, 49%) Taupe Gray
#817f7b rgb(129, 127, 123) hsl(40, 2%, 49%) Battleship Gray