#f0d50d ≈ Citrine
#f0d50d 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.53% green and 5.1% blue; printed in CMYK it uses 0% cyan, 11.25% magenta, 94.58% yellow and 5.88% black. Its hue angle is 52.86°, with 89.72% saturation and 49.61% 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.23:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.22.
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.6614 |
Shades
#f0d50d mixed progressively with black.
Tints
#f0d50d mixed progressively with white.
Tones
#f0d50d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f0d50d {
color: #f0d50d;
}
.bg-f0d50d {
background-color: #f0d50d;
color: #000000;
}
.border-f0d50d {
border: 2px solid #f0d50d;
}
:root {
--color-primary: #f0d50d;
--color-primary-rgb: 240 213 13;
--color-primary-hsl: 53 90% 50%;
}
.gradient-f0d50d {
background: linear-gradient(135deg, #f0d50d, #9af00d);
}
.shadow-f0d50d {
box-shadow: 0 8px 24px rgb(240 213 13 / 0.35);
}
Citrine
#f0d50d rgb(240, 213, 13) hsl(53, 90%, 50%) Citrine
#0d28f0 rgb(13, 40, 240) hsl(233, 90%, 50%) Blue
#0df0d5 rgb(13, 240, 213) hsl(173, 90%, 50%) Turquoise
#d50df0 rgb(213, 13, 240) hsl(293, 90%, 50%) Electric Purple