#403f2d ≈ Black Olive
#403f2d 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.71% green and 17.65% blue; printed in CMYK it uses 0% cyan, 1.56% magenta, 29.69% yellow and 74.9% black. Its hue angle is 56.84°, 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.68:1 (WCAG AAA). The closest named color is Black Olive (#3b3c36), ΔE 5.91.
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.0483 |
Shades
#403f2d mixed progressively with black.
Tints
#403f2d mixed progressively with white.
Tones
#403f2d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-403f2d {
color: #403f2d;
}
.bg-403f2d {
background-color: #403f2d;
color: #ffffff;
}
.border-403f2d {
border: 2px solid #403f2d;
}
:root {
--color-primary: #403f2d;
--color-primary-rgb: 64 63 45;
--color-primary-hsl: 57 17% 21%;
}
.gradient-403f2d {
background: linear-gradient(135deg, #403f2d, #37402d);
}
.shadow-403f2d {
box-shadow: 0 8px 24px rgb(64 63 45 / 0.35);
}
Black Olive
#403f2d rgb(64, 63, 45) hsl(57, 17%, 21%) Black Olive
#2d2e40 rgb(45, 46, 64) hsl(237, 17%, 21%) Jet
#2d403f rgb(45, 64, 63) hsl(177, 17%, 21%) Dark Slate Gray
#3f2d40 rgb(63, 45, 64) hsl(297, 17%, 21%) Eggplant