#797d7a ≈ Gray
#797d7a 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, 49.02% green and 47.84% blue; printed in CMYK it uses 3.2% cyan, 0% magenta, 2.4% yellow and 50.98% black. Its hue angle is 135°, with 1.63% saturation and 48.24% 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.03:1 (WCAG AA). The closest named color is Gray (#808080), ΔE 3.48.
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.2014 |
Shades
#797d7a mixed progressively with black.
Tints
#797d7a mixed progressively with white.
Tones
#797d7a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-797d7a {
color: #797d7a;
}
.bg-797d7a {
background-color: #797d7a;
color: #000000;
}
.border-797d7a {
border: 2px solid #797d7a;
}
:root {
--color-primary: #797d7a;
--color-primary-rgb: 121 125 122;
--color-primary-hsl: 135 2% 48%;
}
.gradient-797d7a {
background: linear-gradient(135deg, #797d7a, #797d7c);
}
.shadow-797d7a {
box-shadow: 0 8px 24px rgb(121 125 122 / 0.35);
}
Gray
#797d7a rgb(121, 125, 122) hsl(135, 2%, 48%) Gray
#7d797c rgb(125, 121, 124) hsl(315, 2%, 48%) Gray
#7a797d rgb(122, 121, 125) hsl(255, 2%, 48%) Gray
#7d7a79 rgb(125, 122, 121) hsl(15, 2%, 48%) Gray