#dfd107 ≈ Citrine
#dfd107 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.96% green and 2.75% blue; printed in CMYK it uses 0% cyan, 6.28% magenta, 96.86% yellow and 12.55% black. Its hue angle is 56.11°, 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.26:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.43.
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.613 |
Shades
#dfd107 mixed progressively with black.
Tints
#dfd107 mixed progressively with white.
Tones
#dfd107 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfd107 {
color: #dfd107;
}
.bg-dfd107 {
background-color: #dfd107;
color: #000000;
}
.border-dfd107 {
border: 2px solid #dfd107;
}
:root {
--color-primary: #dfd107;
--color-primary-rgb: 223 209 7;
--color-primary-hsl: 56 94% 45%;
}
.gradient-dfd107 {
background: linear-gradient(135deg, #dfd107, #81df07);
}
.shadow-dfd107 {
box-shadow: 0 8px 24px rgb(223 209 7 / 0.35);
}
Citrine
#dfd107 rgb(223, 209, 7) hsl(56, 94%, 45%) Citrine
#0715df rgb(7, 21, 223) hsl(236, 94%, 45%) Medium Blue
#07dfd1 rgb(7, 223, 209) hsl(176, 94%, 45%) Turquoise
#d107df rgb(209, 7, 223) hsl(296, 94%, 45%) Electric Purple