#5b520c ≈ Field Drab
#5b520c is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 35.69% red, 32.16% green and 4.71% blue; printed in CMYK it uses 0% cyan, 9.89% magenta, 86.81% yellow and 64.31% black. Its hue angle is 53.16°, with 76.7% saturation and 20.2% 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 7.9:1 (WCAG AAA). The closest named color is Field Drab (#6c541e), ΔE 6.72.
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.0829 |
Shades
#5b520c mixed progressively with black.
Tints
#5b520c mixed progressively with white.
Tones
#5b520c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5b520c {
color: #5b520c;
}
.bg-5b520c {
background-color: #5b520c;
color: #ffffff;
}
.border-5b520c {
border: 2px solid #5b520c;
}
:root {
--color-primary: #5b520c;
--color-primary-rgb: 91 82 12;
--color-primary-hsl: 53 77% 20%;
}
.gradient-5b520c {
background: linear-gradient(135deg, #5b520c, #3d5b0c);
}
.shadow-5b520c {
box-shadow: 0 8px 24px rgb(91 82 12 / 0.35);
}
Field Drab
#5b520c rgb(91, 82, 12) hsl(53, 77%, 20%) Field Drab
#0c155b rgb(12, 21, 91) hsl(233, 77%, 20%) Midnight Blue
#0c5b52 rgb(12, 91, 82) hsl(173, 77%, 20%) Dark Slate Gray
#520c5b rgb(82, 12, 91) hsl(293, 77%, 20%) Indigo