#dcd50c ≈ Citrine
#dcd50c 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.53% green and 4.71% blue; printed in CMYK it uses 0% cyan, 3.18% magenta, 94.55% yellow and 13.73% black. Its hue angle is 57.98°, with 89.66% saturation and 45.49% 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.57:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.14.
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.6283 |
Shades
#dcd50c mixed progressively with black.
Tints
#dcd50c mixed progressively with white.
Tones
#dcd50c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcd50c {
color: #dcd50c;
}
.bg-dcd50c {
background-color: #dcd50c;
color: #000000;
}
.border-dcd50c {
border: 2px solid #dcd50c;
}
:root {
--color-primary: #dcd50c;
--color-primary-rgb: 220 213 12;
--color-primary-hsl: 58 90% 45%;
}
.gradient-dcd50c {
background: linear-gradient(135deg, #dcd50c, #7bdc0c);
}
.shadow-dcd50c {
box-shadow: 0 8px 24px rgb(220 213 12 / 0.35);
}
Citrine
#dcd50c rgb(220, 213, 12) hsl(58, 90%, 45%) Citrine
#0c13dc rgb(12, 19, 220) hsl(238, 90%, 45%) Medium Blue
#0cdcd5 rgb(12, 220, 213) hsl(178, 90%, 45%) Bright Turquoise
#d50cdc rgb(213, 12, 220) hsl(298, 90%, 45%) Electric Purple