#b8a67f ≈ Ecru
#b8a67f is a color from the yellow family, with medium lightness and muted saturation. In the RGB model it is made of 72.16% red, 65.1% green and 49.8% blue; printed in CMYK it uses 0% cyan, 9.78% magenta, 30.98% yellow and 27.84% black. Its hue angle is 41.05°, with 28.64% saturation and 60.98% 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.8:1 (WCAG AAA). The closest named color is Ecru (#c2b280), ΔE 4.42.
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.39 |
Shades
#b8a67f mixed progressively with black.
Tints
#b8a67f mixed progressively with white.
Tones
#b8a67f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b8a67f {
color: #b8a67f;
}
.bg-b8a67f {
background-color: #b8a67f;
color: #000000;
}
.border-b8a67f {
border: 2px solid #b8a67f;
}
:root {
--color-primary: #b8a67f;
--color-primary-rgb: 184 166 127;
--color-primary-hsl: 41 29% 61%;
}
.gradient-b8a67f {
background: linear-gradient(135deg, #b8a67f, #adb87f);
}
.shadow-b8a67f {
box-shadow: 0 8px 24px rgb(184 166 127 / 0.35);
}
Ecru
#b8a67f rgb(184, 166, 127) hsl(41, 29%, 61%) Ecru
#7f91b8 rgb(127, 145, 184) hsl(221, 29%, 61%) Cool Gray
#7fb8a6 rgb(127, 184, 166) hsl(161, 29%, 61%) Medium Aquamarine
#a67fb8 rgb(166, 127, 184) hsl(281, 29%, 61%) Purple Mountain Majesty