#ecd712 ≈ Citrine
#ecd712 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 84.31% green and 7.06% blue; printed in CMYK it uses 0% cyan, 8.9% magenta, 92.37% yellow and 7.45% black. Its hue angle is 54.22°, with 85.83% saturation and 49.8% 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 14.3:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.7.
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.6648 |
Shades
#ecd712 mixed progressively with black.
Tints
#ecd712 mixed progressively with white.
Tones
#ecd712 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ecd712 {
color: #ecd712;
}
.bg-ecd712 {
background-color: #ecd712;
color: #000000;
}
.border-ecd712 {
border: 2px solid #ecd712;
}
:root {
--color-primary: #ecd712;
--color-primary-rgb: 236 215 18;
--color-primary-hsl: 54 86% 50%;
}
.gradient-ecd712 {
background: linear-gradient(135deg, #ecd712, #94ec12);
}
.shadow-ecd712 {
box-shadow: 0 8px 24px rgb(236 215 18 / 0.35);
}
Citrine
#ecd712 rgb(236, 215, 18) hsl(54, 86%, 50%) Citrine
#1227ec rgb(18, 39, 236) hsl(234, 86%, 50%) Blue
#12ecd7 rgb(18, 236, 215) hsl(174, 86%, 50%) Turquoise
#d712ec rgb(215, 18, 236) hsl(294, 86%, 50%) Electric Purple