#2a2f2e ≈ Onyx
#2a2f2e is a color from the gray family, with very low lightness and almost no saturation. In the RGB model it is made of 16.47% red, 18.43% green and 18.04% blue; printed in CMYK it uses 10.64% cyan, 0% magenta, 2.13% yellow and 81.57% black. Its hue angle is 168°, with 5.62% saturation and 17.45% 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 13.6:1 (WCAG AAA). The closest named color is Onyx (#353839), ΔE 3.72.
Description generated from the measured properties of this color.
| 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 luminance | 0.0272 |
Shades
#2a2f2e mixed progressively with black.
Tints
#2a2f2e mixed progressively with white.
Tones
#2a2f2e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2a2f2e {
color: #2a2f2e;
}
.bg-2a2f2e {
background-color: #2a2f2e;
color: #ffffff;
}
.border-2a2f2e {
border: 2px solid #2a2f2e;
}
:root {
--color-primary: #2a2f2e;
--color-primary-rgb: 42 47 46;
--color-primary-hsl: 168 6% 17%;
}
.gradient-2a2f2e {
background: linear-gradient(135deg, #2a2f2e, #2a2d2f);
}
.shadow-2a2f2e {
box-shadow: 0 8px 24px rgb(42 47 46 / 0.35);
}
Onyx
#2a2f2e rgb(42, 47, 46) hsl(168, 6%, 17%) Onyx
#2f2a2b rgb(47, 42, 43) hsl(348, 6%, 17%) Jet
#2e2a2f rgb(46, 42, 47) hsl(288, 6%, 17%) Jet
#2f2e2a rgb(47, 46, 42) hsl(48, 6%, 17%) Jet