#dfd50f ≈ Citrine
#dfd50f is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 87.45% red, 83.53% green and 5.88% blue; printed in CMYK it uses 0% cyan, 4.48% magenta, 93.27% yellow and 12.55% black. Its hue angle is 57.12°, with 87.39% saturation and 46.67% 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.66:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.5.
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.6331 |
Shades
#dfd50f mixed progressively with black.
Tints
#dfd50f mixed progressively with white.
Tones
#dfd50f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfd50f {
color: #dfd50f;
}
.bg-dfd50f {
background-color: #dfd50f;
color: #000000;
}
.border-dfd50f {
border: 2px solid #dfd50f;
}
:root {
--color-primary: #dfd50f;
--color-primary-rgb: 223 213 15;
--color-primary-hsl: 57 87% 47%;
}
.gradient-dfd50f {
background: linear-gradient(135deg, #dfd50f, #81df0f);
}
.shadow-dfd50f {
box-shadow: 0 8px 24px rgb(223 213 15 / 0.35);
}
Citrine
#dfd50f rgb(223, 213, 15) hsl(57, 87%, 47%) Citrine
#0f19df rgb(15, 25, 223) hsl(237, 87%, 47%) Blue
#0fdfd5 rgb(15, 223, 213) hsl(177, 87%, 47%) Bright Turquoise
#d50fdf rgb(213, 15, 223) hsl(297, 87%, 47%) Electric Purple