#dfd007 ≈ Citrine
#dfd007 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 2.75% blue; printed in CMYK it uses 0% cyan, 6.73% magenta, 96.86% yellow and 12.55% black. Its hue angle is 55.83°, with 93.91% saturation and 45.1% 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.6082 |
Shades
#dfd007 mixed progressively with black.
Tints
#dfd007 mixed progressively with white.
Tones
#dfd007 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfd007 {
color: #dfd007;
}
.bg-dfd007 {
background-color: #dfd007;
color: #000000;
}
.border-dfd007 {
border: 2px solid #dfd007;
}
:root {
--color-primary: #dfd007;
--color-primary-rgb: 223 208 7;
--color-primary-hsl: 56 94% 45%;
}
.gradient-dfd007 {
background: linear-gradient(135deg, #dfd007, #82df07);
}
.shadow-dfd007 {
box-shadow: 0 8px 24px rgb(223 208 7 / 0.35);
}
Citrine
#dfd007 rgb(223, 208, 7) hsl(56, 94%, 45%) Citrine
#0716df rgb(7, 22, 223) hsl(236, 94%, 45%) Medium Blue
#07dfd0 rgb(7, 223, 208) hsl(176, 94%, 45%) Turquoise
#d007df rgb(208, 7, 223) hsl(296, 94%, 45%) Electric Purple