#42402c ≈ Rifle Green
#42402c is a color from the yellow family, with low lightness and muted saturation. In the RGB model it is made of 25.88% red, 25.1% green and 17.25% blue; printed in CMYK it uses 0% cyan, 3.03% magenta, 33.33% yellow and 74.12% black. Its hue angle is 54.55°, with 20% saturation and 21.57% 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 corporate identities. White text on this color reaches a contrast ratio of 10.49:1 (WCAG AAA). The closest named color is Rifle Green (#444c38), ΔE 6.24.
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.0501 |
Shades
#42402c mixed progressively with black.
Tints
#42402c mixed progressively with white.
Tones
#42402c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-42402c {
color: #42402c;
}
.bg-42402c {
background-color: #42402c;
color: #ffffff;
}
.border-42402c {
border: 2px solid #42402c;
}
:root {
--color-primary: #42402c;
--color-primary-rgb: 66 64 44;
--color-primary-hsl: 55 20% 22%;
}
.gradient-42402c {
background: linear-gradient(135deg, #42402c, #39422c);
}
.shadow-42402c {
box-shadow: 0 8px 24px rgb(66 64 44 / 0.35);
}
Rifle Green
#42402c rgb(66, 64, 44) hsl(55, 20%, 22%) Rifle Green
#2c2e42 rgb(44, 46, 66) hsl(235, 20%, 22%) Oxford Blue
#2c4240 rgb(44, 66, 64) hsl(175, 20%, 22%) Dark Slate Gray
#402c42 rgb(64, 44, 66) hsl(295, 20%, 22%) Eggplant