#cfb978 ≈ Ecru
#cfb978 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 81.18% red, 72.55% green and 47.06% blue; printed in CMYK it uses 0% cyan, 10.63% magenta, 42.03% yellow and 18.82% black. Its hue angle is 44.83°, with 47.54% saturation and 64.12% 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.86:1 (WCAG AAA). The closest named color is Ecru (#c2b280), ΔE 4.01.
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.4932 |
Shades
#cfb978 mixed progressively with black.
Tints
#cfb978 mixed progressively with white.
Tones
#cfb978 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfb978 {
color: #cfb978;
}
.bg-cfb978 {
background-color: #cfb978;
color: #000000;
}
.border-cfb978 {
border: 2px solid #cfb978;
}
:root {
--color-primary: #cfb978;
--color-primary-rgb: 207 185 120;
--color-primary-hsl: 45 48% 64%;
}
.gradient-cfb978 {
background: linear-gradient(135deg, #cfb978, #bacf78);
}
.shadow-cfb978 {
box-shadow: 0 8px 24px rgb(207 185 120 / 0.35);
}
Ecru
#cfb978 rgb(207, 185, 120) hsl(45, 48%, 64%) Ecru
#788ecf rgb(120, 142, 207) hsl(225, 48%, 64%) Glaucous
#78cfb9 rgb(120, 207, 185) hsl(165, 48%, 64%) Medium Aquamarine
#b978cf rgb(185, 120, 207) hsl(285, 48%, 64%) Floral Lavender