#403d2f ≈ Black Olive
#403d2f is a color from the yellow family, with low lightness and muted saturation. In the RGB model it is made of 25.1% red, 23.92% green and 18.43% blue; printed in CMYK it uses 0% cyan, 4.69% magenta, 26.56% yellow and 74.9% black. Its hue angle is 49.41°, with 15.32% saturation and 21.76% 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.9:1 (WCAG AAA). The closest named color is Black Olive (#3b3c36), ΔE 4.45.
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.0463 |
Shades
#403d2f mixed progressively with black.
Tints
#403d2f mixed progressively with white.
Tones
#403d2f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-403d2f {
color: #403d2f;
}
.bg-403d2f {
background-color: #403d2f;
color: #ffffff;
}
.border-403d2f {
border: 2px solid #403d2f;
}
:root {
--color-primary: #403d2f;
--color-primary-rgb: 64 61 47;
--color-primary-hsl: 49 15% 22%;
}
.gradient-403d2f {
background: linear-gradient(135deg, #403d2f, #3a402f);
}
.shadow-403d2f {
box-shadow: 0 8px 24px rgb(64 61 47 / 0.35);
}
Black Olive
#403d2f rgb(64, 61, 47) hsl(49, 15%, 22%) Black Olive
#2f3240 rgb(47, 50, 64) hsl(229, 15%, 22%) Gunmetal
#2f403d rgb(47, 64, 61) hsl(169, 15%, 22%) Dark Slate Gray
#3d2f40 rgb(61, 47, 64) hsl(289, 15%, 22%) Eggplant