#31331a ≈ Rifle Green
#31331a is a color from the yellow family, with very low lightness and muted saturation. In the RGB model it is made of 19.22% red, 20% green and 10.2% blue; printed in CMYK it uses 3.92% cyan, 0% magenta, 49.02% yellow and 80% black. Its hue angle is 64.8°, with 32.47% saturation and 15.1% 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 luxury branding. White text on this color reaches a contrast ratio of 12.97:1 (WCAG AAA). The closest named color is Rifle Green (#444c38), ΔE 8.78.
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.031 |
Shades
#31331a mixed progressively with black.
Tints
#31331a mixed progressively with white.
Tones
#31331a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-31331a {
color: #31331a;
}
.bg-31331a {
background-color: #31331a;
color: #ffffff;
}
.border-31331a {
border: 2px solid #31331a;
}
:root {
--color-primary: #31331a;
--color-primary-rgb: 49 51 26;
--color-primary-hsl: 65 32% 15%;
}
.gradient-31331a {
background: linear-gradient(135deg, #31331a, #25331a);
}
.shadow-31331a {
box-shadow: 0 8px 24px rgb(49 51 26 / 0.35);
}
Rifle Green
#31331a rgb(49, 51, 26) hsl(65, 32%, 15%) Rifle Green
#1c1a33 rgb(28, 26, 51) hsl(245, 32%, 15%) Oxford Blue
#1a3133 rgb(26, 49, 51) hsl(185, 32%, 15%) Gunmetal
#331a31 rgb(51, 26, 49) hsl(305, 32%, 15%) Eggplant