#262d2a ≈ Onyx
#262d2a is a color from the gray family, with very low lightness and almost no saturation. In the RGB model it is made of 14.9% red, 17.65% green and 16.47% blue; printed in CMYK it uses 15.56% cyan, 0% magenta, 6.67% yellow and 82.35% black. Its hue angle is 154.29°, with 8.43% saturation and 16.27% 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 14.08:1 (WCAG AAA). The closest named color is Onyx (#353839), ΔE 5.6.
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.0246 |
Shades
#262d2a mixed progressively with black.
Tints
#262d2a mixed progressively with white.
Tones
#262d2a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-262d2a {
color: #262d2a;
}
.bg-262d2a {
background-color: #262d2a;
color: #ffffff;
}
.border-262d2a {
border: 2px solid #262d2a;
}
:root {
--color-primary: #262d2a;
--color-primary-rgb: 38 45 42;
--color-primary-hsl: 154 8% 16%;
}
.gradient-262d2a {
background: linear-gradient(135deg, #262d2a, #262c2d);
}
.shadow-262d2a {
box-shadow: 0 8px 24px rgb(38 45 42 / 0.35);
}
Onyx
#262d2a rgb(38, 45, 42) hsl(154, 8%, 16%) Onyx
#2d2629 rgb(45, 38, 41) hsl(334, 8%, 16%) Jet
#2a262d rgb(42, 38, 45) hsl(274, 8%, 16%) Jet
#2d2a26 rgb(45, 42, 38) hsl(34, 8%, 16%) Jet