#dcd311 ≈ Citrine
#dcd311 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 82.75% green and 6.67% blue; printed in CMYK it uses 0% cyan, 4.09% magenta, 92.27% yellow and 13.73% black. Its hue angle is 57.34°, with 85.65% saturation and 46.47% 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.37:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.64.
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.6184 |
Shades
#dcd311 mixed progressively with black.
Tints
#dcd311 mixed progressively with white.
Tones
#dcd311 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcd311 {
color: #dcd311;
}
.bg-dcd311 {
background-color: #dcd311;
color: #000000;
}
.border-dcd311 {
border: 2px solid #dcd311;
}
:root {
--color-primary: #dcd311;
--color-primary-rgb: 220 211 17;
--color-primary-hsl: 57 86% 46%;
}
.gradient-dcd311 {
background: linear-gradient(135deg, #dcd311, #7fdc11);
}
.shadow-dcd311 {
box-shadow: 0 8px 24px rgb(220 211 17 / 0.35);
}
Citrine
#dcd311 rgb(220, 211, 17) hsl(57, 86%, 46%) Citrine
#111adc rgb(17, 26, 220) hsl(237, 86%, 46%) Medium Blue
#11dcd3 rgb(17, 220, 211) hsl(177, 86%, 46%) Turquoise
#d311dc rgb(211, 17, 220) hsl(297, 86%, 46%) Electric Purple