#515212 ≈ Army Green
#515212 is a color from the yellow family, with very low lightness and moderate saturation. In the RGB model it is made of 31.76% red, 32.16% green and 7.06% blue; printed in CMYK it uses 1.22% cyan, 0% magenta, 78.05% yellow and 67.84% black. Its hue angle is 60.94°, with 64% saturation and 19.61% 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 8.19:1 (WCAG AAA). The closest named color is Army Green (#4b5320), ΔE 3.94.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #666600 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0783 |
Shades
#515212 mixed progressively with black.
Tints
#515212 mixed progressively with white.
Tones
#515212 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-515212 {
color: #515212;
}
.bg-515212 {
background-color: #515212;
color: #ffffff;
}
.border-515212 {
border: 2px solid #515212;
}
:root {
--color-primary: #515212;
--color-primary-rgb: 81 82 18;
--color-primary-hsl: 61 64% 20%;
}
.gradient-515212 {
background: linear-gradient(135deg, #515212, #315212);
}
.shadow-515212 {
box-shadow: 0 8px 24px rgb(81 82 18 / 0.35);
}
Army Green
#515212 rgb(81, 82, 18) hsl(61, 64%, 20%) Army Green
#131252 rgb(19, 18, 82) hsl(241, 64%, 20%) Midnight Blue
#125152 rgb(18, 81, 82) hsl(181, 64%, 20%) Dark Slate Gray
#521251 rgb(82, 18, 81) hsl(301, 64%, 20%) Byzantium