#5a641f ≈ Dark Olive Green
#5a641f is a color from the yellow-green family, with low lightness and moderate saturation. In the RGB model it is made of 35.29% red, 39.22% green and 12.16% blue; printed in CMYK it uses 10% cyan, 0% magenta, 69% yellow and 60.78% black. Its hue angle is 68.7°, with 52.67% saturation and 25.69% lightness in HSL. It is a warm color, often associated with freshness, growth and vitality. Designers typically use it for eco-friendly brands, health and wellness and luxury branding. White text on this color reaches a contrast ratio of 6.41:1 (WCAG AA). The closest named color is Dark Olive Green (#556b2f), ΔE 4.77.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #666633 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1139 |
Shades
#5a641f mixed progressively with black.
Tints
#5a641f mixed progressively with white.
Tones
#5a641f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5a641f {
color: #5a641f;
}
.bg-5a641f {
background-color: #5a641f;
color: #ffffff;
}
.border-5a641f {
border: 2px solid #5a641f;
}
:root {
--color-primary: #5a641f;
--color-primary-rgb: 90 100 31;
--color-primary-hsl: 69 53% 26%;
}
.gradient-5a641f {
background: linear-gradient(135deg, #5a641f, #38641f);
}
.shadow-5a641f {
box-shadow: 0 8px 24px rgb(90 100 31 / 0.35);
}
Dark Olive Green
#5a641f rgb(90, 100, 31) hsl(69, 53%, 26%) Dark Olive Green
#291f64 rgb(41, 31, 100) hsl(249, 53%, 26%) Midnight Blue
#1f5a64 rgb(31, 90, 100) hsl(189, 53%, 26%) Midnight Green
#641f5a rgb(100, 31, 90) hsl(309, 53%, 26%) Byzantium