#42423e ≈ Black Olive
#42423e 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.88% green and 24.31% blue; printed in CMYK it uses 0% cyan, 0% magenta, 6.06% yellow and 74.12% black. Its hue angle is 60°, with 3.13% saturation and 25.1% 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.09:1 (WCAG AAA). The closest named color is Black Olive (#3b3c36), ΔE 2.57.
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.054 |
Shades
#42423e mixed progressively with black.
Tints
#42423e mixed progressively with white.
Tones
#42423e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-42423e {
color: #42423e;
}
.bg-42423e {
background-color: #42423e;
color: #ffffff;
}
.border-42423e {
border: 2px solid #42423e;
}
:root {
--color-primary: #42423e;
--color-primary-rgb: 66 66 62;
--color-primary-hsl: 60 3% 25%;
}
.gradient-42423e {
background: linear-gradient(135deg, #42423e, #40423e);
}
.shadow-42423e {
box-shadow: 0 8px 24px rgb(66 66 62 / 0.35);
}
Black Olive
#42423e rgb(66, 66, 62) hsl(60, 3%, 25%) Black Olive
#3e3e42 rgb(62, 62, 66) hsl(240, 3%, 25%) Onyx
#3e4242 rgb(62, 66, 66) hsl(180, 3%, 25%) Onyx
#423e42 rgb(66, 62, 66) hsl(300, 3%, 25%) Jet