#c5b987 ≈ Ecru
#c5b987 is a color from the yellow family, with high lightness and muted saturation. In the RGB model it is made of 77.25% red, 72.55% green and 52.94% blue; printed in CMYK it uses 0% cyan, 6.09% magenta, 31.47% yellow and 22.75% black. Its hue angle is 48.39°, with 34.83% saturation and 65.1% 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.66:1 (WCAG AAA). The closest named color is Ecru (#c2b280), ΔE 2.2.
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.4832 |
Shades
#c5b987 mixed progressively with black.
Tints
#c5b987 mixed progressively with white.
Tones
#c5b987 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c5b987 {
color: #c5b987;
}
.bg-c5b987 {
background-color: #c5b987;
color: #000000;
}
.border-c5b987 {
border: 2px solid #c5b987;
}
:root {
--color-primary: #c5b987;
--color-primary-rgb: 197 185 135;
--color-primary-hsl: 48 35% 65%;
}
.gradient-c5b987 {
background: linear-gradient(135deg, #c5b987, #b2c587);
}
.shadow-c5b987 {
box-shadow: 0 8px 24px rgb(197 185 135 / 0.35);
}
Ecru
#c5b987 rgb(197, 185, 135) hsl(48, 35%, 65%) Ecru
#8793c5 rgb(135, 147, 197) hsl(228, 35%, 65%) Cool Gray
#87c5b9 rgb(135, 197, 185) hsl(168, 35%, 65%) Medium Turquoise
#b987c5 rgb(185, 135, 197) hsl(288, 35%, 65%) Floral Lavender