#c7ba7e ≈ Ecru
#c7ba7e is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 78.04% red, 72.94% green and 49.41% blue; printed in CMYK it uses 0% cyan, 6.53% magenta, 36.68% yellow and 21.96% black. Its hue angle is 49.32°, with 39.46% saturation and 63.73% 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 10.75:1 (WCAG AAA). The closest named color is Ecru (#c2b280), ΔE 3.17.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc66 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.4877 |
Shades
#c7ba7e mixed progressively with black.
Tints
#c7ba7e mixed progressively with white.
Tones
#c7ba7e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c7ba7e {
color: #c7ba7e;
}
.bg-c7ba7e {
background-color: #c7ba7e;
color: #000000;
}
.border-c7ba7e {
border: 2px solid #c7ba7e;
}
:root {
--color-primary: #c7ba7e;
--color-primary-rgb: 199 186 126;
--color-primary-hsl: 49 39% 64%;
}
.gradient-c7ba7e {
background: linear-gradient(135deg, #c7ba7e, #b0c77e);
}
.shadow-c7ba7e {
box-shadow: 0 8px 24px rgb(199 186 126 / 0.35);
}
Ecru
#c7ba7e rgb(199, 186, 126) hsl(49, 39%, 64%) Ecru
#7e8bc7 rgb(126, 139, 199) hsl(229, 39%, 64%) Glaucous
#7ec7ba rgb(126, 199, 186) hsl(169, 39%, 64%) Medium Turquoise
#ba7ec7 rgb(186, 126, 199) hsl(289, 39%, 64%) Floral Lavender