#4F5151

#4f5151 ≈ Davy's Gray

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

#4f5151 is a color from the gray family, with low lightness and almost no saturation. In the RGB model it is made of 30.98% red, 31.76% green and 31.76% blue; printed in CMYK it uses 2.47% cyan, 0% magenta, 0% yellow and 68.24% black. Its hue angle is 180°, with 1.25% saturation and 31.37% lightness in HSL. It is a neutral color, often associated with neutrality, balance and professionalism. Designers typically use it for body text and typography and corporate identities. White text on this color reaches a contrast ratio of 7.99:1 (WCAG AAA). The closest named color is Davy's Gray (#555555), ΔE 1.96.

Description generated from the measured properties of this color.

Conversions of #4f5151 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.0814

Readable text 7.99:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.63:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #515151 ≈ 0.003% of males
Achromatomaly #505151 ≈ 0.001% of males
Protanopia #515151 ≈ 1.01% of males
Deuteranopia #505051 ≈ 1.27% of males
Tritanopia #4e5151 ≈ 0.0001% of males
Protanomaly #505151 ≈ 1.08% of males
Deuteranomaly #505151 ≈ 4.63% of males
Tritanomaly #4f5151 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4f5151 {
  color: #4f5151;
}
Background
.bg-4f5151 {
  background-color: #4f5151;
  color: #ffffff;
}
Border
.border-4f5151 {
  border: 2px solid #4f5151;
}
CSS variables
:root {
  --color-primary: #4f5151;
  --color-primary-rgb: 79 81 81;
  --color-primary-hsl: 180 1% 31%;
}
Gradient
.gradient-4f5151 {
  background: linear-gradient(135deg, #4f5151, #4f5051);
}
Colored shadow
.shadow-4f5151 {
  box-shadow: 0 8px 24px rgb(79 81 81 / 0.35);
}

Davy's Gray
#4f5151  rgb(79, 81, 81)  hsl(180, 1%, 31%)  Davy's Gray
#514f4f  rgb(81, 79, 79)  hsl(0, 1%, 31%)  Davy's Gray
#514f51  rgb(81, 79, 81)  hsl(300, 1%, 31%)  Davy's Gray
#51514f  rgb(81, 81, 79)  hsl(60, 1%, 31%)  Davy's Gray