#ecd71c ≈ Citrine
#ecd71c is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 84.31% green and 10.98% blue; printed in CMYK it uses 0% cyan, 8.9% magenta, 88.14% yellow and 7.45% black. Its hue angle is 53.94°, with 84.55% saturation and 51.76% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 14.3:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.69.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffcc33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.6652 |
Shades
#ecd71c mixed progressively with black.
Tints
#ecd71c mixed progressively with white.
Tones
#ecd71c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecd71c {
color: #ecd71c;
}
.bg-ecd71c {
background-color: #ecd71c;
color: #000000;
}
.border-ecd71c {
border: 2px solid #ecd71c;
}
:root {
--color-primary: #ecd71c;
--color-primary-rgb: 236 215 28;
--color-primary-hsl: 54 85% 52%;
}
.gradient-ecd71c {
background: linear-gradient(135deg, #ecd71c, #99ec1c);
}
.shadow-ecd71c {
box-shadow: 0 8px 24px rgb(236 215 28 / 0.35);
}
Citrine
#ecd71c rgb(236, 215, 28) hsl(54, 85%, 52%) Citrine
#1c31ec rgb(28, 49, 236) hsl(234, 85%, 52%) Blue
#1cecd7 rgb(28, 236, 215) hsl(174, 85%, 52%) Turquoise
#d71cec rgb(215, 28, 236) hsl(294, 85%, 52%) Electric Purple