#797870

#797870 ≈ Gray

  • gray
  • Lightness: medium
  • Saturation: almost no
  • Neutral

#797870 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, 47.06% green and 43.92% blue; printed in CMYK it uses 0% cyan, 0.83% magenta, 7.44% yellow and 52.55% black. Its hue angle is 53.33°, with 3.86% saturation and 45.69% 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.73:1 (WCAG AA). The closest named color is Gray (#808080), ΔE 5.45.

Description generated from the measured properties of this color.

Conversions of #797870 into other color spaces
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 luminance0.1867

Readable text 4.44:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.73:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #787878 ≈ 0.003% of males
Achromatomaly #787875 ≈ 0.001% of males
Protanopia #7a7770 ≈ 1.01% of males
Deuteranopia #7a7870 ≈ 1.27% of males
Tritanopia #7b7776 ≈ 0.0001% of males
Protanomaly #797870 ≈ 1.08% of males
Deuteranomaly #7a7870 ≈ 4.63% of males
Tritanomaly #7a7773 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-797870 {
  color: #797870;
}
Background
.bg-797870 {
  background-color: #797870;
  color: #000000;
}
Border
.border-797870 {
  border: 2px solid #797870;
}
CSS variables
:root {
  --color-primary: #797870;
  --color-primary-rgb: 121 120 112;
  --color-primary-hsl: 53 4% 46%;
}
Gradient
.gradient-797870 {
  background: linear-gradient(135deg, #797870, #767970);
}
Colored shadow
.shadow-797870 {
  box-shadow: 0 8px 24px rgb(121 120 112 / 0.35);
}

Gray
#797870  rgb(121, 120, 112)  hsl(53, 4%, 46%)  Gray
#707179  rgb(112, 113, 121)  hsl(233, 4%, 46%)  Dim Gray
#707978  rgb(112, 121, 120)  hsl(173, 4%, 46%)  Gray
#787079  rgb(120, 112, 121)  hsl(293, 4%, 46%)  Old Lavender