#2c3827 ≈ Rifle Green
#2c3827 is a color from the gray family, with very low lightness and muted saturation. In the RGB model it is made of 17.25% red, 21.96% green and 15.29% blue; printed in CMYK it uses 21.43% cyan, 0% magenta, 30.36% yellow and 78.04% black. Its hue angle is 102.35°, with 17.89% saturation and 18.63% 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 12.34:1 (WCAG AAA). The closest named color is Rifle Green (#444c38), ΔE 7.09.
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.0351 |
Shades
#2c3827 mixed progressively with black.
Tints
#2c3827 mixed progressively with white.
Tones
#2c3827 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2c3827 {
color: #2c3827;
}
.bg-2c3827 {
background-color: #2c3827;
color: #ffffff;
}
.border-2c3827 {
border: 2px solid #2c3827;
}
:root {
--color-primary: #2c3827;
--color-primary-rgb: 44 56 39;
--color-primary-hsl: 102 18% 19%;
}
.gradient-2c3827 {
background: linear-gradient(135deg, #2c3827, #27382b);
}
.shadow-2c3827 {
box-shadow: 0 8px 24px rgb(44 56 39 / 0.35);
}
Rifle Green
#2c3827 rgb(44, 56, 39) hsl(102, 18%, 19%) Rifle Green
#332738 rgb(51, 39, 56) hsl(282, 18%, 19%) Eggplant
#272c38 rgb(39, 44, 56) hsl(222, 18%, 19%) Gunmetal
#38272c rgb(56, 39, 44) hsl(342, 18%, 19%) Licorice