#ecd517 ≈ Citrine
#ecd517 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 83.53% green and 9.02% blue; printed in CMYK it uses 0% cyan, 9.75% magenta, 90.25% yellow and 7.45% black. Its hue angle is 53.52°, with 84.86% saturation and 50.78% 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.1:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.47.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffcc00 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.6548 |
Shades
#ecd517 mixed progressively with black.
Tints
#ecd517 mixed progressively with white.
Tones
#ecd517 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecd517 {
color: #ecd517;
}
.bg-ecd517 {
background-color: #ecd517;
color: #000000;
}
.border-ecd517 {
border: 2px solid #ecd517;
}
:root {
--color-primary: #ecd517;
--color-primary-rgb: 236 213 23;
--color-primary-hsl: 54 85% 51%;
}
.gradient-ecd517 {
background: linear-gradient(135deg, #ecd517, #98ec17);
}
.shadow-ecd517 {
box-shadow: 0 8px 24px rgb(236 213 23 / 0.35);
}
Citrine
#ecd517 rgb(236, 213, 23) hsl(54, 85%, 51%) Citrine
#172eec rgb(23, 46, 236) hsl(234, 85%, 51%) Blue
#17ecd5 rgb(23, 236, 213) hsl(174, 85%, 51%) Turquoise
#d517ec rgb(213, 23, 236) hsl(294, 85%, 51%) Electric Purple