#cab978 ≈ Ecru
#cab978 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 79.22% red, 72.55% green and 47.06% blue; printed in CMYK it uses 0% cyan, 8.42% magenta, 40.59% yellow and 20.78% black. Its hue angle is 47.56°, with 43.62% saturation and 63.14% 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.72:1 (WCAG AAA). The closest named color is Ecru (#c2b280), ΔE 3.66.
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.4861 |
Shades
#cab978 mixed progressively with black.
Tints
#cab978 mixed progressively with white.
Tones
#cab978 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cab978 {
color: #cab978;
}
.bg-cab978 {
background-color: #cab978;
color: #000000;
}
.border-cab978 {
border: 2px solid #cab978;
}
:root {
--color-primary: #cab978;
--color-primary-rgb: 202 185 120;
--color-primary-hsl: 48 44% 63%;
}
.gradient-cab978 {
background: linear-gradient(135deg, #cab978, #b2ca78);
}
.shadow-cab978 {
box-shadow: 0 8px 24px rgb(202 185 120 / 0.35);
}
Ecru
#cab978 rgb(202, 185, 120) hsl(48, 44%, 63%) Ecru
#7889ca rgb(120, 137, 202) hsl(228, 44%, 63%) Glaucous
#78cab9 rgb(120, 202, 185) hsl(168, 44%, 63%) Medium Aquamarine
#b978ca rgb(185, 120, 202) hsl(288, 44%, 63%) Floral Lavender