#dcc321 ≈ Citrine
#dcc321 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 86.27% red, 76.47% green and 12.94% blue; printed in CMYK it uses 0% cyan, 11.36% magenta, 85% yellow and 13.73% black. Its hue angle is 51.98°, with 73.91% saturation and 49.61% 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 brand accents. Black text on this color reaches a contrast ratio of 11.87:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.58.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.5436 |
Shades
#dcc321 mixed progressively with black.
Tints
#dcc321 mixed progressively with white.
Tones
#dcc321 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcc321 {
color: #dcc321;
}
.bg-dcc321 {
background-color: #dcc321;
color: #000000;
}
.border-dcc321 {
border: 2px solid #dcc321;
}
:root {
--color-primary: #dcc321;
--color-primary-rgb: 220 195 33;
--color-primary-hsl: 52 74% 50%;
}
.gradient-dcc321 {
background: linear-gradient(135deg, #dcc321, #98dc21);
}
.shadow-dcc321 {
box-shadow: 0 8px 24px rgb(220 195 33 / 0.35);
}
Citrine
#dcc321 rgb(220, 195, 33) hsl(52, 74%, 50%) Citrine
#213adc rgb(33, 58, 220) hsl(232, 74%, 50%) Persian Blue
#21dcc3 rgb(33, 220, 195) hsl(172, 74%, 50%) Turquoise
#c321dc rgb(195, 33, 220) hsl(292, 74%, 50%) Electric Purple