#dcd406 ≈ Citrine
#dcd406 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 2.35% blue; printed in CMYK it uses 0% cyan, 3.64% magenta, 97.27% yellow and 13.73% black. Its hue angle is 57.76°, with 94.69% saturation and 44.31% 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.46:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.87.
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.6232 |
Shades
#dcd406 mixed progressively with black.
Tints
#dcd406 mixed progressively with white.
Tones
#dcd406 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcd406 {
color: #dcd406;
}
.bg-dcd406 {
background-color: #dcd406;
color: #000000;
}
.border-dcd406 {
border: 2px solid #dcd406;
}
:root {
--color-primary: #dcd406;
--color-primary-rgb: 220 212 6;
--color-primary-hsl: 58 95% 44%;
}
.gradient-dcd406 {
background: linear-gradient(135deg, #dcd406, #79dc06);
}
.shadow-dcd406 {
box-shadow: 0 8px 24px rgb(220 212 6 / 0.35);
}
Citrine
#dcd406 rgb(220, 212, 6) hsl(58, 95%, 44%) Citrine
#060edc rgb(6, 14, 220) hsl(238, 95%, 44%) Medium Blue
#06dcd4 rgb(6, 220, 212) hsl(178, 95%, 44%) Bright Turquoise
#d406dc rgb(212, 6, 220) hsl(298, 95%, 44%) Electric Purple