#cdb978 ≈ Ecru
#cdb978 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 80.39% red, 72.55% green and 47.06% blue; printed in CMYK it uses 0% cyan, 9.76% magenta, 41.46% yellow and 19.61% black. Its hue angle is 45.88°, with 45.95% 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.81:1 (WCAG AAA). The closest named color is Ecru (#c2b280), ΔE 3.8.
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.4903 |
Shades
#cdb978 mixed progressively with black.
Tints
#cdb978 mixed progressively with white.
Tones
#cdb978 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdb978 {
color: #cdb978;
}
.bg-cdb978 {
background-color: #cdb978;
color: #000000;
}
.border-cdb978 {
border: 2px solid #cdb978;
}
:root {
--color-primary: #cdb978;
--color-primary-rgb: 205 185 120;
--color-primary-hsl: 46 46% 64%;
}
.gradient-cdb978 {
background: linear-gradient(135deg, #cdb978, #b7cd78);
}
.shadow-cdb978 {
box-shadow: 0 8px 24px rgb(205 185 120 / 0.35);
}
Ecru
#cdb978 rgb(205, 185, 120) hsl(46, 46%, 64%) Ecru
#788ccd rgb(120, 140, 205) hsl(226, 46%, 64%) Glaucous
#78cdb9 rgb(120, 205, 185) hsl(166, 46%, 64%) Medium Aquamarine
#b978cd rgb(185, 120, 205) hsl(286, 46%, 64%) Floral Lavender