#e2cf0f ≈ Citrine
#e2cf0f is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 88.63% red, 81.18% green and 5.88% blue; printed in CMYK it uses 0% cyan, 8.41% magenta, 93.36% yellow and 11.37% black. Its hue angle is 54.6°, with 87.55% saturation and 47.25% 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.17:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 0.41.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc00 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.6083 |
Shades
#e2cf0f mixed progressively with black.
Tints
#e2cf0f mixed progressively with white.
Tones
#e2cf0f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-e2cf0f {
color: #e2cf0f;
}
.bg-e2cf0f {
background-color: #e2cf0f;
color: #000000;
}
.border-e2cf0f {
border: 2px solid #e2cf0f;
}
:root {
--color-primary: #e2cf0f;
--color-primary-rgb: 226 207 15;
--color-primary-hsl: 55 88% 47%;
}
.gradient-e2cf0f {
background: linear-gradient(135deg, #e2cf0f, #8be20f);
}
.shadow-e2cf0f {
box-shadow: 0 8px 24px rgb(226 207 15 / 0.35);
}
Citrine
#e2cf0f rgb(226, 207, 15) hsl(55, 88%, 47%) Citrine
#0f22e2 rgb(15, 34, 226) hsl(235, 88%, 47%) Blue
#0fe2cf rgb(15, 226, 207) hsl(175, 88%, 47%) Turquoise
#cf0fe2 rgb(207, 15, 226) hsl(295, 88%, 47%) Electric Purple