#2f3a2a ≈ Rifle Green
#2f3a2a is a color from the gray family, with very low lightness and muted saturation. In the RGB model it is made of 18.43% red, 22.75% green and 16.47% blue; printed in CMYK it uses 18.97% cyan, 0% magenta, 27.59% yellow and 77.25% black. Its hue angle is 101.25°, with 16% saturation and 19.61% 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 11.94:1 (WCAG AAA). The closest named color is Rifle Green (#444c38), ΔE 6.37.
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.038 |
Shades
#2f3a2a mixed progressively with black.
Tints
#2f3a2a mixed progressively with white.
Tones
#2f3a2a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2f3a2a {
color: #2f3a2a;
}
.bg-2f3a2a {
background-color: #2f3a2a;
color: #ffffff;
}
.border-2f3a2a {
border: 2px solid #2f3a2a;
}
:root {
--color-primary: #2f3a2a;
--color-primary-rgb: 47 58 42;
--color-primary-hsl: 101 16% 20%;
}
.gradient-2f3a2a {
background: linear-gradient(135deg, #2f3a2a, #2a3a2d);
}
.shadow-2f3a2a {
box-shadow: 0 8px 24px rgb(47 58 42 / 0.35);
}
Rifle Green
#2f3a2a rgb(47, 58, 42) hsl(101, 16%, 20%) Rifle Green
#352a3a rgb(53, 42, 58) hsl(281, 16%, 20%) Jet
#2a2f3a rgb(42, 47, 58) hsl(221, 16%, 20%) Gunmetal
#3a2a2f rgb(58, 42, 47) hsl(341, 16%, 20%) Bistre