#797e7d ≈ Gray
#797e7d 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.41% green and 49.02% blue; printed in CMYK it uses 3.97% cyan, 0% magenta, 0.79% yellow and 50.59% black. Its hue angle is 168°, with 2.02% saturation and 48.43% 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.09:1 (WCAG AA). The closest named color is Gray (#808080), ΔE 3.14.
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.2047 |
Shades
#797e7d mixed progressively with black.
Tints
#797e7d mixed progressively with white.
Tones
#797e7d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-797e7d {
color: #797e7d;
}
.bg-797e7d {
background-color: #797e7d;
color: #000000;
}
.border-797e7d {
border: 2px solid #797e7d;
}
:root {
--color-primary: #797e7d;
--color-primary-rgb: 121 126 125;
--color-primary-hsl: 168 2% 48%;
}
.gradient-797e7d {
background: linear-gradient(135deg, #797e7d, #797c7e);
}
.shadow-797e7d {
box-shadow: 0 8px 24px rgb(121 126 125 / 0.35);
}
Gray
#797e7d rgb(121, 126, 125) hsl(168, 2%, 48%) Gray
#7e797a rgb(126, 121, 122) hsl(348, 2%, 48%) Gray
#7d797e rgb(125, 121, 126) hsl(288, 2%, 48%) Gray
#7e7d79 rgb(126, 125, 121) hsl(48, 2%, 48%) Gray