#ecd40a ≈ Citrine
#ecd40a 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 3.92% blue; printed in CMYK it uses 0% cyan, 10.17% magenta, 95.76% yellow and 7.45% black. Its hue angle is 53.63°, with 91.87% saturation and 48.24% 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 13.99: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.6494 |
Shades
#ecd40a mixed progressively with black.
Tints
#ecd40a mixed progressively with white.
Tones
#ecd40a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecd40a {
color: #ecd40a;
}
.bg-ecd40a {
background-color: #ecd40a;
color: #000000;
}
.border-ecd40a {
border: 2px solid #ecd40a;
}
:root {
--color-primary: #ecd40a;
--color-primary-rgb: 236 212 10;
--color-primary-hsl: 54 92% 48%;
}
.gradient-ecd40a {
background: linear-gradient(135deg, #ecd40a, #93ec0a);
}
.shadow-ecd40a {
box-shadow: 0 8px 24px rgb(236 212 10 / 0.35);
}
Citrine
#ecd40a rgb(236, 212, 10) hsl(54, 92%, 48%) Citrine
#0a22ec rgb(10, 34, 236) hsl(234, 92%, 48%) Blue
#0aecd4 rgb(10, 236, 212) hsl(174, 92%, 48%) Turquoise
#d40aec rgb(212, 10, 236) hsl(294, 92%, 48%) Electric Purple