#dfd51c ≈ Citrine
#dfd51c is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 87.45% red, 83.53% green and 10.98% blue; printed in CMYK it uses 0% cyan, 4.48% magenta, 87.44% yellow and 12.55% black. Its hue angle is 56.92°, with 77.69% saturation and 49.22% 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 brand accents. Black text on this color reaches a contrast ratio of 13.67:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.57.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.6336 |
Shades
#dfd51c mixed progressively with black.
Tints
#dfd51c mixed progressively with white.
Tones
#dfd51c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfd51c {
color: #dfd51c;
}
.bg-dfd51c {
background-color: #dfd51c;
color: #000000;
}
.border-dfd51c {
border: 2px solid #dfd51c;
}
:root {
--color-primary: #dfd51c;
--color-primary-rgb: 223 213 28;
--color-primary-hsl: 57 78% 49%;
}
.gradient-dfd51c {
background: linear-gradient(135deg, #dfd51c, #88df1c);
}
.shadow-dfd51c {
box-shadow: 0 8px 24px rgb(223 213 28 / 0.35);
}
Citrine
#dfd51c rgb(223, 213, 28) hsl(57, 78%, 49%) Citrine
#1c26df rgb(28, 38, 223) hsl(237, 78%, 49%) Blue
#1cdfd5 rgb(28, 223, 213) hsl(177, 78%, 49%) Bright Turquoise
#d51cdf rgb(213, 28, 223) hsl(297, 78%, 49%) Medium Orchid