#40512c ≈ Army Green
#40512c is a color from the yellow-green family, with low lightness and muted saturation. In the RGB model it is made of 25.1% red, 31.76% green and 17.25% blue; printed in CMYK it uses 20.99% cyan, 0% magenta, 45.68% yellow and 68.24% black. Its hue angle is 87.57°, with 29.6% saturation and 24.51% lightness in HSL. It sits between warm and cool, and is often associated with freshness, growth and vitality. Designers typically use it for eco-friendly brands, health and wellness and corporate identities. White text on this color reaches a contrast ratio of 8.64:1 (WCAG AAA). The closest named color is Army Green (#4b5320), ΔE 5.42.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #336633 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0716 |
Shades
#40512c mixed progressively with black.
Tints
#40512c mixed progressively with white.
Tones
#40512c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-40512c {
color: #40512c;
}
.bg-40512c {
background-color: #40512c;
color: #ffffff;
}
.border-40512c {
border: 2px solid #40512c;
}
:root {
--color-primary: #40512c;
--color-primary-rgb: 64 81 44;
--color-primary-hsl: 88 30% 25%;
}
.gradient-40512c {
background: linear-gradient(135deg, #40512c, #2d512c);
}
.shadow-40512c {
box-shadow: 0 8px 24px rgb(64 81 44 / 0.35);
}
Army Green
#40512c rgb(64, 81, 44) hsl(88, 30%, 25%) Army Green
#3d2c51 rgb(61, 44, 81) hsl(268, 30%, 25%) Eggplant
#2c4051 rgb(44, 64, 81) hsl(208, 30%, 25%) Charcoal
#512c40 rgb(81, 44, 64) hsl(328, 30%, 25%) Eggplant