#c4b99f ≈ Ecru
#c4b99f is a color from the yellow family, with high lightness and muted saturation. In the RGB model it is made of 76.86% red, 72.55% green and 62.35% blue; printed in CMYK it uses 0% cyan, 5.61% magenta, 18.88% yellow and 23.14% black. Its hue angle is 42.16°, with 23.87% saturation and 69.61% 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.79:1 (WCAG AAA). The closest named color is Ecru (#c2b280), ΔE 7.04.
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.4894 |
Shades
#c4b99f mixed progressively with black.
Tints
#c4b99f mixed progressively with white.
Tones
#c4b99f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c4b99f {
color: #c4b99f;
}
.bg-c4b99f {
background-color: #c4b99f;
color: #000000;
}
.border-c4b99f {
border: 2px solid #c4b99f;
}
:root {
--color-primary: #c4b99f;
--color-primary-rgb: 196 185 159;
--color-primary-hsl: 42 24% 70%;
}
.gradient-c4b99f {
background: linear-gradient(135deg, #c4b99f, #bdc49f);
}
.shadow-c4b99f {
box-shadow: 0 8px 24px rgb(196 185 159 / 0.35);
}
Ecru
#c4b99f rgb(196, 185, 159) hsl(42, 24%, 70%) Ecru
#9faac4 rgb(159, 170, 196) hsl(222, 24%, 70%) Wild Blue Yonder
#9fc4b9 rgb(159, 196, 185) hsl(162, 24%, 70%) Opal
#b99fc4 rgb(185, 159, 196) hsl(282, 24%, 70%) Lilac