#b8a87b ≈ Ecru
#b8a87b 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.88% green and 48.24% blue; printed in CMYK it uses 0% cyan, 8.7% magenta, 33.15% yellow and 27.84% black. Its hue angle is 44.26°, with 30.05% saturation and 60.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 brand accents. Black text on this color reaches a contrast ratio of 8.93:1 (WCAG AAA). The closest named color is Ecru (#c2b280), ΔE 3.
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.3963 |
Shades
#b8a87b mixed progressively with black.
Tints
#b8a87b mixed progressively with white.
Tones
#b8a87b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b8a87b {
color: #b8a87b;
}
.bg-b8a87b {
background-color: #b8a87b;
color: #000000;
}
.border-b8a87b {
border: 2px solid #b8a87b;
}
:root {
--color-primary: #b8a87b;
--color-primary-rgb: 184 168 123;
--color-primary-hsl: 44 30% 60%;
}
.gradient-b8a87b {
background: linear-gradient(135deg, #b8a87b, #aab87b);
}
.shadow-b8a87b {
box-shadow: 0 8px 24px rgb(184 168 123 / 0.35);
}
Ecru
#b8a87b rgb(184, 168, 123) hsl(44, 30%, 60%) Ecru
#7b8bb8 rgb(123, 139, 184) hsl(224, 30%, 60%) Glaucous
#7bb8a8 rgb(123, 184, 168) hsl(164, 30%, 60%) Verdigris
#a87bb8 rgb(168, 123, 184) hsl(284, 30%, 60%) Purple Mountain Majesty