#b2b45f ≈ Dark Khaki
#b2b45f is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 69.8% red, 70.59% green and 37.25% blue; printed in CMYK it uses 1.11% cyan, 0% magenta, 47.22% yellow and 29.41% black. Its hue angle is 61.41°, with 36.17% saturation and 53.92% 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.59:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 2.95.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #99cc66 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.4293 |
Shades
#b2b45f mixed progressively with black.
Tints
#b2b45f mixed progressively with white.
Tones
#b2b45f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b2b45f {
color: #b2b45f;
}
.bg-b2b45f {
background-color: #b2b45f;
color: #000000;
}
.border-b2b45f {
border: 2px solid #b2b45f;
}
:root {
--color-primary: #b2b45f;
--color-primary-rgb: 178 180 95;
--color-primary-hsl: 61 36% 54%;
}
.gradient-b2b45f {
background: linear-gradient(135deg, #b2b45f, #87b45f);
}
.shadow-b2b45f {
box-shadow: 0 8px 24px rgb(178 180 95 / 0.35);
}
Dark Khaki
#b2b45f rgb(178, 180, 95) hsl(61, 36%, 54%) Dark Khaki
#615fb4 rgb(97, 95, 180) hsl(241, 36%, 54%) Slate Blue
#5fb2b4 rgb(95, 178, 180) hsl(181, 36%, 54%) Verdigris
#b45fb2 rgb(180, 95, 178) hsl(301, 36%, 54%) Medium Orchid