#dfd50d ≈ Citrine
#dfd50d 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.1% blue; printed in CMYK it uses 0% cyan, 4.48% magenta, 94.17% yellow and 12.55% black. Its hue angle is 57.14°, with 88.98% saturation and 46.27% 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
#dfd50d mixed progressively with black.
Tints
#dfd50d mixed progressively with white.
Tones
#dfd50d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfd50d {
color: #dfd50d;
}
.bg-dfd50d {
background-color: #dfd50d;
color: #000000;
}
.border-dfd50d {
border: 2px solid #dfd50d;
}
:root {
--color-primary: #dfd50d;
--color-primary-rgb: 223 213 13;
--color-primary-hsl: 57 89% 46%;
}
.gradient-dfd50d {
background: linear-gradient(135deg, #dfd50d, #80df0d);
}
.shadow-dfd50d {
box-shadow: 0 8px 24px rgb(223 213 13 / 0.35);
}
Citrine
#dfd50d rgb(223, 213, 13) hsl(57, 89%, 46%) Citrine
#0d17df rgb(13, 23, 223) hsl(237, 89%, 46%) Blue
#0ddfd5 rgb(13, 223, 213) hsl(177, 89%, 46%) Bright Turquoise
#d50ddf rgb(213, 13, 223) hsl(297, 89%, 46%) Electric Purple