#40523b ≈ Rifle Green
#40523b is a color from the green family, with low lightness and muted saturation. In the RGB model it is made of 25.1% red, 32.16% green and 23.14% blue; printed in CMYK it uses 21.95% cyan, 0% magenta, 28.05% yellow and 67.84% black. Its hue angle is 106.96°, with 16.31% saturation and 27.65% lightness in HSL. It sits between warm and cool, and is often associated with nature, health and balance. 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.44:1 (WCAG AAA). The closest named color is Rifle Green (#444c38), ΔE 4.35.
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.0744 |
Shades
#40523b mixed progressively with black.
Tints
#40523b mixed progressively with white.
Tones
#40523b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-40523b {
color: #40523b;
}
.bg-40523b {
background-color: #40523b;
color: #ffffff;
}
.border-40523b {
border: 2px solid #40523b;
}
:root {
--color-primary: #40523b;
--color-primary-rgb: 64 82 59;
--color-primary-hsl: 107 16% 28%;
}
.gradient-40523b {
background: linear-gradient(135deg, #40523b, #3b5242);
}
.shadow-40523b {
box-shadow: 0 8px 24px rgb(64 82 59 / 0.35);
}
Rifle Green
#40523b rgb(64, 82, 59) hsl(107, 16%, 28%) Rifle Green
#4d3b52 rgb(77, 59, 82) hsl(287, 16%, 28%) Eggplant
#3b4052 rgb(59, 64, 82) hsl(227, 16%, 28%) Charcoal
#523b40 rgb(82, 59, 64) hsl(347, 16%, 28%) Eggplant