#2c2d0f ≈ Rifle Green
#2c2d0f is a color from the yellow family, with very low lightness and muted saturation. In the RGB model it is made of 17.25% red, 17.65% green and 5.88% blue; printed in CMYK it uses 2.22% cyan, 0% magenta, 66.67% yellow and 82.35% black. Its hue angle is 62°, with 50% saturation and 11.76% 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 14.1:1 (WCAG AAA). The closest named color is Rifle Green (#444c38), ΔE 11.26.
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.0245 |
Shades
#2c2d0f mixed progressively with black.
Tints
#2c2d0f mixed progressively with white.
Tones
#2c2d0f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2c2d0f {
color: #2c2d0f;
}
.bg-2c2d0f {
background-color: #2c2d0f;
color: #ffffff;
}
.border-2c2d0f {
border: 2px solid #2c2d0f;
}
:root {
--color-primary: #2c2d0f;
--color-primary-rgb: 44 45 15;
--color-primary-hsl: 62 50% 12%;
}
.gradient-2c2d0f {
background: linear-gradient(135deg, #2c2d0f, #1d2d0f);
}
.shadow-2c2d0f {
box-shadow: 0 8px 24px rgb(44 45 15 / 0.35);
}
Rifle Green
#2c2d0f rgb(44, 45, 15) hsl(62, 50%, 12%) Rifle Green
#100f2d rgb(16, 15, 45) hsl(242, 50%, 12%) Oxford Blue
#0f2c2d rgb(15, 44, 45) hsl(182, 50%, 12%) Gunmetal
#2d0f2c rgb(45, 15, 44) hsl(302, 50%, 12%) Tyrian Purple