#dfd50a ≈ Citrine
#dfd50a 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 3.92% blue; printed in CMYK it uses 0% cyan, 4.48% magenta, 95.52% yellow and 12.55% black. Its hue angle is 57.18°, with 91.42% saturation and 45.69% 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.633 |
Shades
#dfd50a mixed progressively with black.
Tints
#dfd50a mixed progressively with white.
Tones
#dfd50a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfd50a {
color: #dfd50a;
}
.bg-dfd50a {
background-color: #dfd50a;
color: #000000;
}
.border-dfd50a {
border: 2px solid #dfd50a;
}
:root {
--color-primary: #dfd50a;
--color-primary-rgb: 223 213 10;
--color-primary-hsl: 57 91% 46%;
}
.gradient-dfd50a {
background: linear-gradient(135deg, #dfd50a, #7fdf0a);
}
.shadow-dfd50a {
box-shadow: 0 8px 24px rgb(223 213 10 / 0.35);
}
Citrine
#dfd50a rgb(223, 213, 10) hsl(57, 91%, 46%) Citrine
#0a14df rgb(10, 20, 223) hsl(237, 91%, 46%) Medium Blue
#0adfd5 rgb(10, 223, 213) hsl(177, 91%, 46%) Bright Turquoise
#d50adf rgb(213, 10, 223) hsl(297, 91%, 46%) Electric Purple