#dfd40d ≈ Citrine
#dfd40d 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.14% green and 5.1% blue; printed in CMYK it uses 0% cyan, 4.93% magenta, 94.17% yellow and 12.55% black. Its hue angle is 56.86°, 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.56: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 | #cccc00 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.628 |
Shades
#dfd40d mixed progressively with black.
Tints
#dfd40d mixed progressively with white.
Tones
#dfd40d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfd40d {
color: #dfd40d;
}
.bg-dfd40d {
background-color: #dfd40d;
color: #000000;
}
.border-dfd40d {
border: 2px solid #dfd40d;
}
:root {
--color-primary: #dfd40d;
--color-primary-rgb: 223 212 13;
--color-primary-hsl: 57 89% 46%;
}
.gradient-dfd40d {
background: linear-gradient(135deg, #dfd40d, #81df0d);
}
.shadow-dfd40d {
box-shadow: 0 8px 24px rgb(223 212 13 / 0.35);
}
Citrine
#dfd40d rgb(223, 212, 13) hsl(57, 89%, 46%) Citrine
#0d18df rgb(13, 24, 223) hsl(237, 89%, 46%) Blue
#0ddfd4 rgb(13, 223, 212) hsl(177, 89%, 46%) Turquoise
#d40ddf rgb(212, 13, 223) hsl(297, 89%, 46%) Electric Purple