#ecd819 ≈ Citrine
#ecd819 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.71% green and 9.8% blue; printed in CMYK it uses 0% cyan, 8.47% magenta, 89.41% yellow and 7.45% black. Its hue angle is 54.31°, with 84.74% saturation and 51.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 call-to-action buttons. Black text on this color reaches a contrast ratio of 14.4:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.87.
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.6701 |
Shades
#ecd819 mixed progressively with black.
Tints
#ecd819 mixed progressively with white.
Tones
#ecd819 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecd819 {
color: #ecd819;
}
.bg-ecd819 {
background-color: #ecd819;
color: #000000;
}
.border-ecd819 {
border: 2px solid #ecd819;
}
:root {
--color-primary: #ecd819;
--color-primary-rgb: 236 216 25;
--color-primary-hsl: 54 85% 51%;
}
.gradient-ecd819 {
background: linear-gradient(135deg, #ecd819, #97ec19);
}
.shadow-ecd819 {
box-shadow: 0 8px 24px rgb(236 216 25 / 0.35);
}
Citrine
#ecd819 rgb(236, 216, 25) hsl(54, 85%, 51%) Citrine
#192dec rgb(25, 45, 236) hsl(234, 85%, 51%) Blue
#19ecd8 rgb(25, 236, 216) hsl(174, 85%, 51%) Turquoise
#d819ec rgb(216, 25, 236) hsl(294, 85%, 51%) Electric Purple