#dcd313 ≈ Citrine
#dcd313 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 7.45% blue; printed in CMYK it uses 0% cyan, 4.09% magenta, 91.36% yellow and 13.73% black. Its hue angle is 57.31°, with 84.1% saturation and 46.86% 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.65.
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.6185 |
Shades
#dcd313 mixed progressively with black.
Tints
#dcd313 mixed progressively with white.
Tones
#dcd313 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcd313 {
color: #dcd313;
}
.bg-dcd313 {
background-color: #dcd313;
color: #000000;
}
.border-dcd313 {
border: 2px solid #dcd313;
}
:root {
--color-primary: #dcd313;
--color-primary-rgb: 220 211 19;
--color-primary-hsl: 57 84% 47%;
}
.gradient-dcd313 {
background: linear-gradient(135deg, #dcd313, #81dc13);
}
.shadow-dcd313 {
box-shadow: 0 8px 24px rgb(220 211 19 / 0.35);
}
Citrine
#dcd313 rgb(220, 211, 19) hsl(57, 84%, 47%) Citrine
#131cdc rgb(19, 28, 220) hsl(237, 84%, 47%) Blue
#13dcd3 rgb(19, 220, 211) hsl(177, 84%, 47%) Turquoise
#d313dc rgb(211, 19, 220) hsl(297, 84%, 47%) Electric Purple