#ecce1f ≈ Citrine
#ecce1f 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 12.16% blue; printed in CMYK it uses 0% cyan, 12.71% magenta, 86.86% yellow and 7.45% black. Its hue angle is 51.22°, 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 13.41:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.57.
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.6207 |
Shades
#ecce1f mixed progressively with black.
Tints
#ecce1f mixed progressively with white.
Tones
#ecce1f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecce1f {
color: #ecce1f;
}
.bg-ecce1f {
background-color: #ecce1f;
color: #000000;
}
.border-ecce1f {
border: 2px solid #ecce1f;
}
:root {
--color-primary: #ecce1f;
--color-primary-rgb: 236 206 31;
--color-primary-hsl: 51 84% 52%;
}
.gradient-ecce1f {
background: linear-gradient(135deg, #ecce1f, #a3ec1f);
}
.shadow-ecce1f {
box-shadow: 0 8px 24px rgb(236 206 31 / 0.35);
}
Citrine
#ecce1f rgb(236, 206, 31) hsl(51, 84%, 52%) Citrine
#1f3dec rgb(31, 61, 236) hsl(231, 84%, 52%) Persian Blue
#1fecce rgb(31, 236, 206) hsl(171, 84%, 52%) Turquoise
#ce1fec rgb(206, 31, 236) hsl(291, 84%, 52%) Electric Purple