#dfd30c ≈ Citrine
#dfd30c is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 87.45% red, 82.75% green and 4.71% blue; printed in CMYK it uses 0% cyan, 5.38% magenta, 94.62% yellow and 12.55% black. Its hue angle is 56.59°, with 89.79% saturation and 46.08% 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.46:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.95.
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.623 |
Shades
#dfd30c mixed progressively with black.
Tints
#dfd30c mixed progressively with white.
Tones
#dfd30c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfd30c {
color: #dfd30c;
}
.bg-dfd30c {
background-color: #dfd30c;
color: #000000;
}
.border-dfd30c {
border: 2px solid #dfd30c;
}
:root {
--color-primary: #dfd30c;
--color-primary-rgb: 223 211 12;
--color-primary-hsl: 57 90% 46%;
}
.gradient-dfd30c {
background: linear-gradient(135deg, #dfd30c, #81df0c);
}
.shadow-dfd30c {
box-shadow: 0 8px 24px rgb(223 211 12 / 0.35);
}
Citrine
#dfd30c rgb(223, 211, 12) hsl(57, 90%, 46%) Citrine
#0c18df rgb(12, 24, 223) hsl(237, 90%, 46%) Blue
#0cdfd3 rgb(12, 223, 211) hsl(177, 90%, 46%) Turquoise
#d30cdf rgb(211, 12, 223) hsl(297, 90%, 46%) Electric Purple