#ccba8a ≈ Ecru
#ccba8a is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 80% red, 72.94% green and 54.12% blue; printed in CMYK it uses 0% cyan, 8.82% magenta, 32.35% yellow and 20% black. Its hue angle is 43.64°, with 39.29% saturation and 67.06% 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.96:1 (WCAG AAA). The closest named color is Ecru (#c2b280), ΔE 2.49.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc99 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.4979 |
Shades
#ccba8a mixed progressively with black.
Tints
#ccba8a mixed progressively with white.
Tones
#ccba8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ccba8a {
color: #ccba8a;
}
.bg-ccba8a {
background-color: #ccba8a;
color: #000000;
}
.border-ccba8a {
border: 2px solid #ccba8a;
}
:root {
--color-primary: #ccba8a;
--color-primary-rgb: 204 186 138;
--color-primary-hsl: 44 39% 67%;
}
.gradient-ccba8a {
background: linear-gradient(135deg, #ccba8a, #bdcc8a);
}
.shadow-ccba8a {
box-shadow: 0 8px 24px rgb(204 186 138 / 0.35);
}
Ecru
#ccba8a rgb(204, 186, 138) hsl(44, 39%, 67%) Ecru
#8a9ccc rgb(138, 156, 204) hsl(224, 39%, 67%) Wild Blue Yonder
#8accba rgb(138, 204, 186) hsl(164, 39%, 67%) Medium Aquamarine
#ba8acc rgb(186, 138, 204) hsl(284, 39%, 67%) Floral Lavender