#ecd01b ≈ Citrine
#ecd01b 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 10.59% blue; printed in CMYK it uses 0% cyan, 11.86% magenta, 88.56% yellow and 7.45% black. Its hue angle is 51.96°, with 84.62% saturation and 51.57% 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.6:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.02.
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.6302 |
Shades
#ecd01b mixed progressively with black.
Tints
#ecd01b mixed progressively with white.
Tones
#ecd01b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecd01b {
color: #ecd01b;
}
.bg-ecd01b {
background-color: #ecd01b;
color: #000000;
}
.border-ecd01b {
border: 2px solid #ecd01b;
}
:root {
--color-primary: #ecd01b;
--color-primary-rgb: 236 208 27;
--color-primary-hsl: 52 85% 52%;
}
.gradient-ecd01b {
background: linear-gradient(135deg, #ecd01b, #a0ec1b);
}
.shadow-ecd01b {
box-shadow: 0 8px 24px rgb(236 208 27 / 0.35);
}
Citrine
#ecd01b rgb(236, 208, 27) hsl(52, 85%, 52%) Citrine
#1b37ec rgb(27, 55, 236) hsl(232, 85%, 52%) Han Purple
#1becd0 rgb(27, 236, 208) hsl(172, 85%, 52%) Turquoise
#d01bec rgb(208, 27, 236) hsl(292, 85%, 52%) Electric Purple