#ecd02a ≈ Citrine
#ecd02a is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 81.57% green and 16.47% blue; printed in CMYK it uses 0% cyan, 11.86% magenta, 82.2% yellow and 7.45% black. Its hue angle is 51.34°, with 83.62% saturation and 54.51% 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.62:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.3.
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.6311 |
Shades
#ecd02a mixed progressively with black.
Tints
#ecd02a mixed progressively with white.
Tones
#ecd02a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecd02a {
color: #ecd02a;
}
.bg-ecd02a {
background-color: #ecd02a;
color: #000000;
}
.border-ecd02a {
border: 2px solid #ecd02a;
}
:root {
--color-primary: #ecd02a;
--color-primary-rgb: 236 208 42;
--color-primary-hsl: 51 84% 55%;
}
.gradient-ecd02a {
background: linear-gradient(135deg, #ecd02a, #a7ec2a);
}
.shadow-ecd02a {
box-shadow: 0 8px 24px rgb(236 208 42 / 0.35);
}
Citrine
#ecd02a rgb(236, 208, 42) hsl(51, 84%, 55%) Citrine
#2a46ec rgb(42, 70, 236) hsl(231, 84%, 55%) Iris
#2aecd0 rgb(42, 236, 208) hsl(171, 84%, 55%) Turquoise
#d02aec rgb(208, 42, 236) hsl(291, 84%, 55%) Electric Purple