#424142

#424142 ≈ Onyx

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

#424142 is a color from the gray family, with low lightness and almost no saturation. In the RGB model it is made of 25.88% red, 25.49% green and 25.88% blue; printed in CMYK it uses 0% cyan, 1.52% magenta, 0% yellow and 74.12% black. Its hue angle is 300°, with 0.76% saturation and 25.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 and corporate identities. White text on this color reaches a contrast ratio of 10.16:1 (WCAG AAA). The closest named color is Onyx (#353839), ΔE 4.11.

Description generated from the measured properties of this color.

Conversions of #424142 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#333333
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0533

Readable text 10.16:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.07:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #414141 ≈ 0.003% of males
Achromatomaly #424142 ≈ 0.001% of males
Protanopia #414142 ≈ 1.01% of males
Deuteranopia #414142 ≈ 1.27% of males
Tritanopia #424141 ≈ 0.0001% of males
Protanomaly #414142 ≈ 1.08% of males
Deuteranomaly #414142 ≈ 4.63% of males
Tritanomaly #424142 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-424142 {
  color: #424142;
}
Background
.bg-424142 {
  background-color: #424142;
  color: #ffffff;
}
Border
.border-424142 {
  border: 2px solid #424142;
}
CSS variables
:root {
  --color-primary: #424142;
  --color-primary-rgb: 66 65 66;
  --color-primary-hsl: 300 1% 26%;
}
Gradient
.gradient-424142 {
  background: linear-gradient(135deg, #424142, #424142);
}
Colored shadow
.shadow-424142 {
  box-shadow: 0 8px 24px rgb(66 65 66 / 0.35);
}

Onyx
#424142  rgb(66, 65, 66)  hsl(300, 1%, 26%)  Onyx
#414241  rgb(65, 66, 65)  hsl(120, 1%, 26%)  Onyx
#424241  rgb(66, 66, 65)  hsl(60, 1%, 26%)  Onyx
#414242  rgb(65, 66, 66)  hsl(180, 1%, 26%)  Onyx