#31300f ≈ Rifle Green
#31300f 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, 18.82% green and 5.88% blue; printed in CMYK it uses 0% cyan, 2.04% magenta, 69.39% yellow and 80.78% black. Its hue angle is 58.24°, with 53.13% saturation and 12.55% 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 13.46:1 (WCAG AAA). The closest named color is Rifle Green (#444c38), ΔE 11.2.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #333300 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.028 |
Shades
#31300f mixed progressively with black.
Tints
#31300f mixed progressively with white.
Tones
#31300f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-31300f {
color: #31300f;
}
.bg-31300f {
background-color: #31300f;
color: #ffffff;
}
.border-31300f {
border: 2px solid #31300f;
}
:root {
--color-primary: #31300f;
--color-primary-rgb: 49 48 15;
--color-primary-hsl: 58 53% 13%;
}
.gradient-31300f {
background: linear-gradient(135deg, #31300f, #21310f);
}
.shadow-31300f {
box-shadow: 0 8px 24px rgb(49 48 15 / 0.35);
}
Rifle Green
#31300f rgb(49, 48, 15) hsl(58, 53%, 13%) Rifle Green
#0f1031 rgb(15, 16, 49) hsl(238, 53%, 13%) Oxford Blue
#0f3130 rgb(15, 49, 48) hsl(178, 53%, 13%) Phthalo Green
#300f31 rgb(48, 15, 49) hsl(298, 53%, 13%) Tyrian Purple