#dcd42e ≈ Citrine
#dcd42e 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.14% green and 18.04% blue; printed in CMYK it uses 0% cyan, 3.64% magenta, 79.09% yellow and 13.73% black. Its hue angle is 57.24°, with 71.31% saturation and 52.16% 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.5:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.32.
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.625 |
Shades
#dcd42e mixed progressively with black.
Tints
#dcd42e mixed progressively with white.
Tones
#dcd42e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcd42e {
color: #dcd42e;
}
.bg-dcd42e {
background-color: #dcd42e;
color: #000000;
}
.border-dcd42e {
border: 2px solid #dcd42e;
}
:root {
--color-primary: #dcd42e;
--color-primary-rgb: 220 212 46;
--color-primary-hsl: 57 71% 52%;
}
.gradient-dcd42e {
background: linear-gradient(135deg, #dcd42e, #8ddc2e);
}
.shadow-dcd42e {
box-shadow: 0 8px 24px rgb(220 212 46 / 0.35);
}
Citrine
#dcd42e rgb(220, 212, 46) hsl(57, 71%, 52%) Citrine
#2e36dc rgb(46, 54, 220) hsl(237, 71%, 52%) Persian Blue
#2edcd4 rgb(46, 220, 212) hsl(177, 71%, 52%) Turquoise
#d42edc rgb(212, 46, 220) hsl(297, 71%, 52%) Medium Orchid