#797c7b ≈ Gray
#797c7b is a color from the gray family, with medium lightness and almost no saturation. In the RGB model it is made of 47.45% red, 48.63% green and 48.24% blue; printed in CMYK it uses 2.42% cyan, 0% magenta, 0.81% yellow and 51.37% black. Its hue angle is 160°, with 1.22% saturation and 48.04% 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 4.98:1 (WCAG AA). The closest named color is Gray (#808080), ΔE 2.63.
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.1991 |
Shades
#797c7b mixed progressively with black.
Tints
#797c7b mixed progressively with white.
Tones
#797c7b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-797c7b {
color: #797c7b;
}
.bg-797c7b {
background-color: #797c7b;
color: #000000;
}
.border-797c7b {
border: 2px solid #797c7b;
}
:root {
--color-primary: #797c7b;
--color-primary-rgb: 121 124 123;
--color-primary-hsl: 160 1% 48%;
}
.gradient-797c7b {
background: linear-gradient(135deg, #797c7b, #797b7c);
}
.shadow-797c7b {
box-shadow: 0 8px 24px rgb(121 124 123 / 0.35);
}
Gray
#797c7b rgb(121, 124, 123) hsl(160, 1%, 48%) Gray
#7c797a rgb(124, 121, 122) hsl(340, 1%, 48%) Gray
#7b797c rgb(123, 121, 124) hsl(280, 1%, 48%) Gray
#7c7b79 rgb(124, 123, 121) hsl(40, 1%, 48%) Gray