#dfd505 ≈ Citrine
#dfd505 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 1.96% blue; printed in CMYK it uses 0% cyan, 4.48% magenta, 97.76% yellow and 12.55% black. Its hue angle is 57.25°, with 95.61% saturation and 44.71% 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.66:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.49.
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.6329 |
Shades
#dfd505 mixed progressively with black.
Tints
#dfd505 mixed progressively with white.
Tones
#dfd505 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfd505 {
color: #dfd505;
}
.bg-dfd505 {
background-color: #dfd505;
color: #000000;
}
.border-dfd505 {
border: 2px solid #dfd505;
}
:root {
--color-primary: #dfd505;
--color-primary-rgb: 223 213 5;
--color-primary-hsl: 57 96% 45%;
}
.gradient-dfd505 {
background: linear-gradient(135deg, #dfd505, #7cdf05);
}
.shadow-dfd505 {
box-shadow: 0 8px 24px rgb(223 213 5 / 0.35);
}
Citrine
#dfd505 rgb(223, 213, 5) hsl(57, 96%, 45%) Citrine
#050fdf rgb(5, 15, 223) hsl(237, 96%, 45%) Medium Blue
#05dfd5 rgb(5, 223, 213) hsl(177, 96%, 45%) Bright Turquoise
#d505df rgb(213, 5, 223) hsl(297, 96%, 45%) Electric Purple