#404940 ≈ Rifle Green
#404940 is a color from the gray family, with low lightness and almost no saturation. In the RGB model it is made of 25.1% red, 28.63% green and 25.1% blue; printed in CMYK it uses 12.33% cyan, 0% magenta, 12.33% yellow and 71.37% black. Its hue angle is 120°, with 6.57% saturation and 26.86% lightness in HSL. It is a neutral color, often associated with neutrality, balance and professionalism. Designers typically use it for body text and typography and corporate identities. White text on this color reaches a contrast ratio of 9.35:1 (WCAG AAA). The closest named color is Rifle Green (#444c38), ΔE 5.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.0623 |
Shades
#404940 mixed progressively with black.
Tints
#404940 mixed progressively with white.
Tones
#404940 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-404940 {
color: #404940;
}
.bg-404940 {
background-color: #404940;
color: #ffffff;
}
.border-404940 {
border: 2px solid #404940;
}
:root {
--color-primary: #404940;
--color-primary-rgb: 64 73 64;
--color-primary-hsl: 120 7% 27%;
}
.gradient-404940 {
background: linear-gradient(135deg, #404940, #404944);
}
.shadow-404940 {
box-shadow: 0 8px 24px rgb(64 73 64 / 0.35);
}
Rifle Green
#404940 rgb(64, 73, 64) hsl(120, 7%, 27%) Rifle Green
#494049 rgb(73, 64, 73) hsl(300, 7%, 27%) Jet
#404049 rgb(64, 64, 73) hsl(240, 7%, 27%) Onyx
#494040 rgb(73, 64, 64) hsl(0, 7%, 27%) Taupe