#ecce1b ≈ Citrine
#ecce1b is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 80.78% green and 10.59% blue; printed in CMYK it uses 0% cyan, 12.71% magenta, 88.56% yellow and 7.45% black. Its hue angle is 51.39°, 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.41:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.52.
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.6205 |
Shades
#ecce1b mixed progressively with black.
Tints
#ecce1b mixed progressively with white.
Tones
#ecce1b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecce1b {
color: #ecce1b;
}
.bg-ecce1b {
background-color: #ecce1b;
color: #000000;
}
.border-ecce1b {
border: 2px solid #ecce1b;
}
:root {
--color-primary: #ecce1b;
--color-primary-rgb: 236 206 27;
--color-primary-hsl: 51 85% 52%;
}
.gradient-ecce1b {
background: linear-gradient(135deg, #ecce1b, #a1ec1b);
}
.shadow-ecce1b {
box-shadow: 0 8px 24px rgb(236 206 27 / 0.35);
}
Citrine
#ecce1b rgb(236, 206, 27) hsl(51, 85%, 52%) Citrine
#1b39ec rgb(27, 57, 236) hsl(231, 85%, 52%) Han Purple
#1becce rgb(27, 236, 206) hsl(171, 85%, 52%) Turquoise
#ce1bec rgb(206, 27, 236) hsl(291, 85%, 52%) Electric Purple