#42402e ≈ Black Olive
#42402e is a color from the yellow family, with low lightness and muted saturation. In the RGB model it is made of 25.88% red, 25.1% green and 18.04% blue; printed in CMYK it uses 0% cyan, 3.03% magenta, 30.3% yellow and 74.12% black. Its hue angle is 54°, with 17.86% saturation and 21.96% lightness in HSL. It is a warm color, often associated with optimism, attention and joy. Designers typically use it for highlights and warnings, children's products and corporate identities. White text on this color reaches a contrast ratio of 10.48:1 (WCAG AAA). The closest named color is Black Olive (#3b3c36), ΔE 6.01.
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.0502 |
Shades
#42402e mixed progressively with black.
Tints
#42402e mixed progressively with white.
Tones
#42402e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-42402e {
color: #42402e;
}
.bg-42402e {
background-color: #42402e;
color: #ffffff;
}
.border-42402e {
border: 2px solid #42402e;
}
:root {
--color-primary: #42402e;
--color-primary-rgb: 66 64 46;
--color-primary-hsl: 54 18% 22%;
}
.gradient-42402e {
background: linear-gradient(135deg, #42402e, #3a422e);
}
.shadow-42402e {
box-shadow: 0 8px 24px rgb(66 64 46 / 0.35);
}
Black Olive
#42402e rgb(66, 64, 46) hsl(54, 18%, 22%) Black Olive
#2e3042 rgb(46, 48, 66) hsl(234, 18%, 22%) Jet
#2e4240 rgb(46, 66, 64) hsl(174, 18%, 22%) Dark Slate Gray
#402e42 rgb(64, 46, 66) hsl(294, 18%, 22%) Eggplant