#dfd004 ≈ Citrine
#dfd004 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 87.45% red, 81.57% green and 1.57% blue; printed in CMYK it uses 0% cyan, 6.73% magenta, 98.21% yellow and 12.55% black. Its hue angle is 55.89°, with 96.48% saturation and 44.51% 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.16:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.21.
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.6081 |
Shades
#dfd004 mixed progressively with black.
Tints
#dfd004 mixed progressively with white.
Tones
#dfd004 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfd004 {
color: #dfd004;
}
.bg-dfd004 {
background-color: #dfd004;
color: #000000;
}
.border-dfd004 {
border: 2px solid #dfd004;
}
:root {
--color-primary: #dfd004;
--color-primary-rgb: 223 208 4;
--color-primary-hsl: 56 96% 45%;
}
.gradient-dfd004 {
background: linear-gradient(135deg, #dfd004, #81df04);
}
.shadow-dfd004 {
box-shadow: 0 8px 24px rgb(223 208 4 / 0.35);
}
Citrine
#dfd004 rgb(223, 208, 4) hsl(56, 96%, 45%) Citrine
#0413df rgb(4, 19, 223) hsl(236, 96%, 45%) Medium Blue
#04dfd0 rgb(4, 223, 208) hsl(176, 96%, 45%) Turquoise
#d004df rgb(208, 4, 223) hsl(296, 96%, 45%) Electric Purple