#ecd187 ≈ Buff
#ecd187 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 92.55% red, 81.96% green and 52.94% blue; printed in CMYK it uses 0% cyan, 11.44% magenta, 42.8% yellow and 7.45% black. Its hue angle is 43.96°, with 72.66% saturation and 72.75% 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 14.04:1 (WCAG AAA). The closest named color is Buff (#f0dc82), ΔE 4.2.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffcc99 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.6518 |
Shades
#ecd187 mixed progressively with black.
Tints
#ecd187 mixed progressively with white.
Tones
#ecd187 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecd187 {
color: #ecd187;
}
.bg-ecd187 {
background-color: #ecd187;
color: #000000;
}
.border-ecd187 {
border: 2px solid #ecd187;
}
:root {
--color-primary: #ecd187;
--color-primary-rgb: 236 209 135;
--color-primary-hsl: 44 73% 73%;
}
.gradient-ecd187 {
background: linear-gradient(135deg, #ecd187, #d5ec87);
}
.shadow-ecd187 {
box-shadow: 0 8px 24px rgb(236 209 135 / 0.35);
}
Buff
#ecd187 rgb(236, 209, 135) hsl(44, 73%, 73%) Buff
#87a2ec rgb(135, 162, 236) hsl(224, 73%, 73%) Cornflower Blue
#87ecd1 rgb(135, 236, 209) hsl(164, 73%, 73%) Magic Mint
#d187ec rgb(209, 135, 236) hsl(284, 73%, 73%) Violet