#dfd017 ≈ Citrine
#dfd017 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 9.02% blue; printed in CMYK it uses 0% cyan, 6.73% magenta, 89.69% yellow and 12.55% black. Its hue angle is 55.5°, with 81.3% saturation and 48.24% 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.17:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.3.
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.6086 |
Shades
#dfd017 mixed progressively with black.
Tints
#dfd017 mixed progressively with white.
Tones
#dfd017 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfd017 {
color: #dfd017;
}
.bg-dfd017 {
background-color: #dfd017;
color: #000000;
}
.border-dfd017 {
border: 2px solid #dfd017;
}
:root {
--color-primary: #dfd017;
--color-primary-rgb: 223 208 23;
--color-primary-hsl: 56 81% 48%;
}
.gradient-dfd017 {
background: linear-gradient(135deg, #dfd017, #8adf17);
}
.shadow-dfd017 {
box-shadow: 0 8px 24px rgb(223 208 23 / 0.35);
}
Citrine
#dfd017 rgb(223, 208, 23) hsl(56, 81%, 48%) Citrine
#1726df rgb(23, 38, 223) hsl(236, 81%, 48%) Blue
#17dfd0 rgb(23, 223, 208) hsl(176, 81%, 48%) Turquoise
#d017df rgb(208, 23, 223) hsl(296, 81%, 48%) Electric Purple