#5a4e2a ≈ Field Drab
#5a4e2a is a color from the yellow family, with low lightness and muted saturation. In the RGB model it is made of 35.29% red, 30.59% green and 16.47% blue; printed in CMYK it uses 0% cyan, 13.33% magenta, 53.33% yellow and 64.71% black. Its hue angle is 45°, with 36.36% saturation and 25.88% 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.21:1 (WCAG AAA). The closest named color is Field Drab (#6c541e), ΔE 6.53.
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.0779 |
Shades
#5a4e2a mixed progressively with black.
Tints
#5a4e2a mixed progressively with white.
Tones
#5a4e2a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5a4e2a {
color: #5a4e2a;
}
.bg-5a4e2a {
background-color: #5a4e2a;
color: #ffffff;
}
.border-5a4e2a {
border: 2px solid #5a4e2a;
}
:root {
--color-primary: #5a4e2a;
--color-primary-rgb: 90 78 42;
--color-primary-hsl: 45 36% 26%;
}
.gradient-5a4e2a {
background: linear-gradient(135deg, #5a4e2a, #4e5a2a);
}
.shadow-5a4e2a {
box-shadow: 0 8px 24px rgb(90 78 42 / 0.35);
}
Field Drab
#5a4e2a rgb(90, 78, 42) hsl(45, 36%, 26%) Field Drab
#2a365a rgb(42, 54, 90) hsl(225, 36%, 26%) Oxford Blue
#2a5a4e rgb(42, 90, 78) hsl(165, 36%, 26%) Dark Slate Gray
#4e2a5a rgb(78, 42, 90) hsl(285, 36%, 26%) Byzantium