#313e2f ≈ Rifle Green
#313e2f is a color from the green family, with low lightness and muted saturation. In the RGB model it is made of 19.22% red, 24.31% green and 18.43% blue; printed in CMYK it uses 20.97% cyan, 0% magenta, 24.19% yellow and 75.69% black. Its hue angle is 112°, with 13.76% saturation and 21.37% lightness in HSL. It sits between warm and cool, and is often associated with nature, health and balance. Designers typically use it for eco-friendly brands, health and wellness and corporate identities. White text on this color reaches a contrast ratio of 11.29:1 (WCAG AAA). The closest named color is Rifle Green (#444c38), ΔE 5.7.
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.043 |
Shades
#313e2f mixed progressively with black.
Tints
#313e2f mixed progressively with white.
Tones
#313e2f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-313e2f {
color: #313e2f;
}
.bg-313e2f {
background-color: #313e2f;
color: #ffffff;
}
.border-313e2f {
border: 2px solid #313e2f;
}
:root {
--color-primary: #313e2f;
--color-primary-rgb: 49 62 47;
--color-primary-hsl: 112 14% 21%;
}
.gradient-313e2f {
background: linear-gradient(135deg, #313e2f, #2f3e34);
}
.shadow-313e2f {
box-shadow: 0 8px 24px rgb(49 62 47 / 0.35);
}
Rifle Green
#313e2f rgb(49, 62, 47) hsl(112, 14%, 21%) Rifle Green
#3c2f3e rgb(60, 47, 62) hsl(292, 14%, 21%) Eggplant
#2f313e rgb(47, 49, 62) hsl(232, 14%, 21%) Jet
#3e2f31 rgb(62, 47, 49) hsl(352, 14%, 21%) Bistre