#b2a16c ≈ Ecru
#b2a16c is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 69.8% red, 63.14% green and 42.35% blue; printed in CMYK it uses 0% cyan, 9.55% magenta, 39.33% yellow and 30.2% black. Its hue angle is 45.43°, with 31.25% saturation and 56.08% 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.21:1 (WCAG AAA). The closest named color is Ecru (#c2b280), ΔE 4.96.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #999966 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.3604 |
Shades
#b2a16c mixed progressively with black.
Tints
#b2a16c mixed progressively with white.
Tones
#b2a16c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b2a16c {
color: #b2a16c;
}
.bg-b2a16c {
background-color: #b2a16c;
color: #000000;
}
.border-b2a16c {
border: 2px solid #b2a16c;
}
:root {
--color-primary: #b2a16c;
--color-primary-rgb: 178 161 108;
--color-primary-hsl: 45 31% 56%;
}
.gradient-b2a16c {
background: linear-gradient(135deg, #b2a16c, #a0b26c);
}
.shadow-b2a16c {
box-shadow: 0 8px 24px rgb(178 161 108 / 0.35);
}
Ecru
#b2a16c rgb(178, 161, 108) hsl(45, 31%, 56%) Ecru
#6c7db2 rgb(108, 125, 178) hsl(225, 31%, 56%) Glaucous
#6cb2a1 rgb(108, 178, 161) hsl(165, 31%, 56%) Verdigris
#a16cb2 rgb(161, 108, 178) hsl(285, 31%, 56%) Purple Mountain Majesty