#403e2d ≈ Black Olive
#403e2d is a color from the yellow family, with low lightness and muted saturation. In the RGB model it is made of 25.1% red, 24.31% green and 17.65% blue; printed in CMYK it uses 0% cyan, 3.12% magenta, 29.69% yellow and 74.9% black. Its hue angle is 53.68°, with 17.43% saturation and 21.37% 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.8:1 (WCAG AAA). The closest named color is Black Olive (#3b3c36), ΔE 5.54.
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.0472 |
Shades
#403e2d mixed progressively with black.
Tints
#403e2d mixed progressively with white.
Tones
#403e2d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-403e2d {
color: #403e2d;
}
.bg-403e2d {
background-color: #403e2d;
color: #ffffff;
}
.border-403e2d {
border: 2px solid #403e2d;
}
:root {
--color-primary: #403e2d;
--color-primary-rgb: 64 62 45;
--color-primary-hsl: 54 17% 21%;
}
.gradient-403e2d {
background: linear-gradient(135deg, #403e2d, #38402d);
}
.shadow-403e2d {
box-shadow: 0 8px 24px rgb(64 62 45 / 0.35);
}
Black Olive
#403e2d rgb(64, 62, 45) hsl(54, 17%, 21%) Black Olive
#2d2f40 rgb(45, 47, 64) hsl(234, 17%, 21%) Jet
#2d403e rgb(45, 64, 62) hsl(174, 17%, 21%) Dark Slate Gray
#3e2d40 rgb(62, 45, 64) hsl(294, 17%, 21%) Eggplant