#ecc87f ≈ Topaz
#ecc87f is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 92.55% red, 78.43% green and 49.8% blue; printed in CMYK it uses 0% cyan, 15.25% magenta, 46.19% yellow and 7.45% black. Its hue angle is 40.18°, with 74.15% saturation and 71.18% 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 13.13:1 (WCAG AAA). The closest named color is Topaz (#ffc87c), ΔE 5.25.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffcc66 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.6067 |
Shades
#ecc87f mixed progressively with black.
Tints
#ecc87f mixed progressively with white.
Tones
#ecc87f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecc87f {
color: #ecc87f;
}
.bg-ecc87f {
background-color: #ecc87f;
color: #000000;
}
.border-ecc87f {
border: 2px solid #ecc87f;
}
:root {
--color-primary: #ecc87f;
--color-primary-rgb: 236 200 127;
--color-primary-hsl: 40 74% 71%;
}
.gradient-ecc87f {
background: linear-gradient(135deg, #ecc87f, #daec7f);
}
.shadow-ecc87f {
box-shadow: 0 8px 24px rgb(236 200 127 / 0.35);
}
Topaz
#ecc87f rgb(236, 200, 127) hsl(40, 74%, 71%) Topaz
#7fa3ec rgb(127, 163, 236) hsl(220, 74%, 71%) Cornflower Blue
#7fecc8 rgb(127, 236, 200) hsl(160, 74%, 71%) Aquamarine
#c87fec rgb(200, 127, 236) hsl(280, 74%, 71%) Floral Lavender