#b7a866 ≈ Ecru
#b7a866 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 71.76% red, 65.88% green and 40% blue; printed in CMYK it uses 0% cyan, 8.2% magenta, 44.26% yellow and 28.24% black. Its hue angle is 48.89°, with 36% saturation and 55.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 brand accents. Black text on this color reaches a contrast ratio of 8.81:1 (WCAG AAA). The closest named color is Ecru (#c2b280), ΔE 4.78.
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.3903 |
Shades
#b7a866 mixed progressively with black.
Tints
#b7a866 mixed progressively with white.
Tones
#b7a866 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b7a866 {
color: #b7a866;
}
.bg-b7a866 {
background-color: #b7a866;
color: #000000;
}
.border-b7a866 {
border: 2px solid #b7a866;
}
:root {
--color-primary: #b7a866;
--color-primary-rgb: 183 168 102;
--color-primary-hsl: 49 36% 56%;
}
.gradient-b7a866 {
background: linear-gradient(135deg, #b7a866, #9db766);
}
.shadow-b7a866 {
box-shadow: 0 8px 24px rgb(183 168 102 / 0.35);
}
Ecru
#b7a866 rgb(183, 168, 102) hsl(49, 36%, 56%) Ecru
#6675b7 rgb(102, 117, 183) hsl(229, 36%, 56%) Glaucous
#66b7a8 rgb(102, 183, 168) hsl(169, 36%, 56%) Verdigris
#a866b7 rgb(168, 102, 183) hsl(289, 36%, 56%) Amethyst