#31401d ≈ Rifle Green
#31401d is a color from the yellow-green family, with very low lightness and muted saturation. In the RGB model it is made of 19.22% red, 25.1% green and 11.37% blue; printed in CMYK it uses 23.44% cyan, 0% magenta, 54.69% yellow and 74.9% black. Its hue angle is 85.71°, with 37.63% saturation and 18.24% lightness in HSL. It sits between warm and cool, and is often associated with freshness, growth and vitality. Designers typically use it for eco-friendly brands, health and wellness and luxury branding. White text on this color reaches a contrast ratio of 11.16:1 (WCAG AAA). The closest named color is Rifle Green (#444c38), ΔE 7.55.
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.0441 |
Shades
#31401d mixed progressively with black.
Tints
#31401d mixed progressively with white.
Tones
#31401d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-31401d {
color: #31401d;
}
.bg-31401d {
background-color: #31401d;
color: #ffffff;
}
.border-31401d {
border: 2px solid #31401d;
}
:root {
--color-primary: #31401d;
--color-primary-rgb: 49 64 29;
--color-primary-hsl: 86 38% 18%;
}
.gradient-31401d {
background: linear-gradient(135deg, #31401d, #20401d);
}
.shadow-31401d {
box-shadow: 0 8px 24px rgb(49 64 29 / 0.35);
}
Rifle Green
#31401d rgb(49, 64, 29) hsl(86, 38%, 18%) Rifle Green
#2c1d40 rgb(44, 29, 64) hsl(266, 38%, 18%) Oxford Blue
#1d3140 rgb(29, 49, 64) hsl(206, 38%, 18%) Gunmetal
#401d31 rgb(64, 29, 49) hsl(326, 38%, 18%) Tyrian Purple