#b7af5a ≈ Dark Khaki
#b7af5a is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 71.76% red, 68.63% green and 35.29% blue; printed in CMYK it uses 0% cyan, 4.37% magenta, 50.82% yellow and 28.24% black. Its hue angle is 54.84°, with 39.24% saturation and 53.53% 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 brand accents. Black text on this color reaches a contrast ratio of 9.29:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 2.81.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc9966 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.4147 |
Shades
#b7af5a mixed progressively with black.
Tints
#b7af5a mixed progressively with white.
Tones
#b7af5a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b7af5a {
color: #b7af5a;
}
.bg-b7af5a {
background-color: #b7af5a;
color: #000000;
}
.border-b7af5a {
border: 2px solid #b7af5a;
}
:root {
--color-primary: #b7af5a;
--color-primary-rgb: 183 175 90;
--color-primary-hsl: 55 39% 54%;
}
.gradient-b7af5a {
background: linear-gradient(135deg, #b7af5a, #90b75a);
}
.shadow-b7af5a {
box-shadow: 0 8px 24px rgb(183 175 90 / 0.35);
}
Dark Khaki
#b7af5a rgb(183, 175, 90) hsl(55, 39%, 54%) Dark Khaki
#5a62b7 rgb(90, 98, 183) hsl(235, 39%, 54%) Slate Blue
#5ab7af rgb(90, 183, 175) hsl(175, 39%, 54%) Verdigris
#af5ab7 rgb(175, 90, 183) hsl(295, 39%, 54%) Medium Orchid