#2c3828 ≈ Rifle Green
#2c3828 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.69% blue; printed in CMYK it uses 21.43% cyan, 0% magenta, 28.57% yellow and 78.04% black. Its hue angle is 105°, with 16.67% saturation and 18.82% 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.33:1 (WCAG AAA). The closest named color is Rifle Green (#444c38), ΔE 7.15.
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.0352 |
Shades
#2c3828 mixed progressively with black.
Tints
#2c3828 mixed progressively with white.
Tones
#2c3828 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2c3828 {
color: #2c3828;
}
.bg-2c3828 {
background-color: #2c3828;
color: #ffffff;
}
.border-2c3828 {
border: 2px solid #2c3828;
}
:root {
--color-primary: #2c3828;
--color-primary-rgb: 44 56 40;
--color-primary-hsl: 105 17% 19%;
}
.gradient-2c3828 {
background: linear-gradient(135deg, #2c3828, #28382c);
}
.shadow-2c3828 {
box-shadow: 0 8px 24px rgb(44 56 40 / 0.35);
}
Rifle Green
#2c3828 rgb(44, 56, 40) hsl(105, 17%, 19%) Rifle Green
#342838 rgb(52, 40, 56) hsl(285, 17%, 19%) Jet
#282c38 rgb(40, 44, 56) hsl(225, 17%, 19%) Gunmetal
#38282c rgb(56, 40, 44) hsl(345, 17%, 19%) Licorice