#dcd30b ≈ Citrine
#dcd30b 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 4.31% blue; printed in CMYK it uses 0% cyan, 4.09% magenta, 95% yellow and 13.73% black. Its hue angle is 57.42°, with 90.48% saturation and 45.29% 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.62.
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.6183 |
Shades
#dcd30b mixed progressively with black.
Tints
#dcd30b mixed progressively with white.
Tones
#dcd30b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcd30b {
color: #dcd30b;
}
.bg-dcd30b {
background-color: #dcd30b;
color: #000000;
}
.border-dcd30b {
border: 2px solid #dcd30b;
}
:root {
--color-primary: #dcd30b;
--color-primary-rgb: 220 211 11;
--color-primary-hsl: 57 90% 45%;
}
.gradient-dcd30b {
background: linear-gradient(135deg, #dcd30b, #7cdc0b);
}
.shadow-dcd30b {
box-shadow: 0 8px 24px rgb(220 211 11 / 0.35);
}
Citrine
#dcd30b rgb(220, 211, 11) hsl(57, 90%, 45%) Citrine
#0b14dc rgb(11, 20, 220) hsl(237, 90%, 45%) Medium Blue
#0bdcd3 rgb(11, 220, 211) hsl(177, 90%, 45%) Bright Turquoise
#d30bdc rgb(211, 11, 220) hsl(297, 90%, 45%) Electric Purple