#f0d41c ≈ Citrine
#f0d41c is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 94.12% red, 83.14% green and 10.98% blue; printed in CMYK it uses 0% cyan, 11.67% magenta, 88.33% yellow and 5.88% black. Its hue angle is 52.08°, with 87.6% saturation and 52.55% 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.14:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.3.
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.657 |
Shades
#f0d41c mixed progressively with black.
Tints
#f0d41c mixed progressively with white.
Tones
#f0d41c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f0d41c {
color: #f0d41c;
}
.bg-f0d41c {
background-color: #f0d41c;
color: #000000;
}
.border-f0d41c {
border: 2px solid #f0d41c;
}
:root {
--color-primary: #f0d41c;
--color-primary-rgb: 240 212 28;
--color-primary-hsl: 52 88% 53%;
}
.gradient-f0d41c {
background: linear-gradient(135deg, #f0d41c, #a2f01c);
}
.shadow-f0d41c {
box-shadow: 0 8px 24px rgb(240 212 28 / 0.35);
}
Citrine
#f0d41c rgb(240, 212, 28) hsl(52, 88%, 53%) Citrine
#1c38f0 rgb(28, 56, 240) hsl(232, 88%, 53%) Han Purple
#1cf0d4 rgb(28, 240, 212) hsl(172, 88%, 53%) Turquoise
#d41cf0 rgb(212, 28, 240) hsl(292, 88%, 53%) Electric Purple