#dcd52f ≈ Citrine
#dcd52f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 86.27% red, 83.53% green and 18.43% blue; printed in CMYK it uses 0% cyan, 3.18% magenta, 78.64% yellow and 13.73% black. Its hue angle is 57.57°, with 71.19% saturation and 52.35% 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.6:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.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.6301 |
Shades
#dcd52f mixed progressively with black.
Tints
#dcd52f mixed progressively with white.
Tones
#dcd52f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcd52f {
color: #dcd52f;
}
.bg-dcd52f {
background-color: #dcd52f;
color: #000000;
}
.border-dcd52f {
border: 2px solid #dcd52f;
}
:root {
--color-primary: #dcd52f;
--color-primary-rgb: 220 213 47;
--color-primary-hsl: 58 71% 52%;
}
.gradient-dcd52f {
background: linear-gradient(135deg, #dcd52f, #8cdc2f);
}
.shadow-dcd52f {
box-shadow: 0 8px 24px rgb(220 213 47 / 0.35);
}
Citrine
#dcd52f rgb(220, 213, 47) hsl(58, 71%, 52%) Citrine
#2f36dc rgb(47, 54, 220) hsl(238, 71%, 52%) Persian Blue
#2fdcd5 rgb(47, 220, 213) hsl(178, 71%, 52%) Medium Turquoise
#d52fdc rgb(213, 47, 220) hsl(298, 71%, 52%) Medium Orchid