#dcd40d ≈ Citrine
#dcd40d is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 83.14% green and 5.1% blue; printed in CMYK it uses 0% cyan, 3.64% magenta, 94.09% yellow and 13.73% black. Its hue angle is 57.68°, with 88.84% saturation and 45.69% 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.47:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.88.
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.6233 |
Shades
#dcd40d mixed progressively with black.
Tints
#dcd40d mixed progressively with white.
Tones
#dcd40d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcd40d {
color: #dcd40d;
}
.bg-dcd40d {
background-color: #dcd40d;
color: #000000;
}
.border-dcd40d {
border: 2px solid #dcd40d;
}
:root {
--color-primary: #dcd40d;
--color-primary-rgb: 220 212 13;
--color-primary-hsl: 58 89% 46%;
}
.gradient-dcd40d {
background: linear-gradient(135deg, #dcd40d, #7ddc0d);
}
.shadow-dcd40d {
box-shadow: 0 8px 24px rgb(220 212 13 / 0.35);
}
Citrine
#dcd40d rgb(220, 212, 13) hsl(58, 89%, 46%) Citrine
#0d15dc rgb(13, 21, 220) hsl(238, 89%, 46%) Medium Blue
#0ddcd4 rgb(13, 220, 212) hsl(178, 89%, 46%) Bright Turquoise
#d40ddc rgb(212, 13, 220) hsl(298, 89%, 46%) Electric Purple