#403f2a ≈ Rifle Green
#403f2a 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 16.47% blue; printed in CMYK it uses 0% cyan, 1.56% magenta, 34.38% yellow and 74.9% black. Its hue angle is 57.27°, with 20.75% saturation and 20.78% 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.7:1 (WCAG AAA). The closest named color is Rifle Green (#444c38), Δ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.0481 |
Shades
#403f2a mixed progressively with black.
Tints
#403f2a mixed progressively with white.
Tones
#403f2a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-403f2a {
color: #403f2a;
}
.bg-403f2a {
background-color: #403f2a;
color: #ffffff;
}
.border-403f2a {
border: 2px solid #403f2a;
}
:root {
--color-primary: #403f2a;
--color-primary-rgb: 64 63 42;
--color-primary-hsl: 57 21% 21%;
}
.gradient-403f2a {
background: linear-gradient(135deg, #403f2a, #36402a);
}
.shadow-403f2a {
box-shadow: 0 8px 24px rgb(64 63 42 / 0.35);
}
Rifle Green
#403f2a rgb(64, 63, 42) hsl(57, 21%, 21%) Rifle Green
#2a2b40 rgb(42, 43, 64) hsl(237, 21%, 21%) Oxford Blue
#2a403f rgb(42, 64, 63) hsl(177, 21%, 21%) Dark Slate Gray
#3f2a40 rgb(63, 42, 64) hsl(297, 21%, 21%) Eggplant