#ecd41f ≈ Citrine
#ecd41f 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.14% green and 12.16% blue; printed in CMYK it uses 0% cyan, 10.17% magenta, 86.86% yellow and 7.45% black. Its hue angle is 52.98°, with 84.36% saturation and 52.35% 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 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.49.
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.6502 |
Shades
#ecd41f mixed progressively with black.
Tints
#ecd41f mixed progressively with white.
Tones
#ecd41f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecd41f {
color: #ecd41f;
}
.bg-ecd41f {
background-color: #ecd41f;
color: #000000;
}
.border-ecd41f {
border: 2px solid #ecd41f;
}
:root {
--color-primary: #ecd41f;
--color-primary-rgb: 236 212 31;
--color-primary-hsl: 53 84% 52%;
}
.gradient-ecd41f {
background: linear-gradient(135deg, #ecd41f, #9dec1f);
}
.shadow-ecd41f {
box-shadow: 0 8px 24px rgb(236 212 31 / 0.35);
}
Citrine
#ecd41f rgb(236, 212, 31) hsl(53, 84%, 52%) Citrine
#1f37ec rgb(31, 55, 236) hsl(233, 84%, 52%) Han Purple
#1fecd4 rgb(31, 236, 212) hsl(173, 84%, 52%) Turquoise
#d41fec rgb(212, 31, 236) hsl(293, 84%, 52%) Electric Purple