#dcd321 ≈ Citrine
#dcd321 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 86.27% red, 82.75% green and 12.94% blue; printed in CMYK it uses 0% cyan, 4.09% magenta, 85% yellow and 13.73% black. Its hue angle is 57.11°, 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 13.38:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.79.
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.6191 |
Shades
#dcd321 mixed progressively with black.
Tints
#dcd321 mixed progressively with white.
Tones
#dcd321 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcd321 {
color: #dcd321;
}
.bg-dcd321 {
background-color: #dcd321;
color: #000000;
}
.border-dcd321 {
border: 2px solid #dcd321;
}
:root {
--color-primary: #dcd321;
--color-primary-rgb: 220 211 33;
--color-primary-hsl: 57 74% 50%;
}
.gradient-dcd321 {
background: linear-gradient(135deg, #dcd321, #88dc21);
}
.shadow-dcd321 {
box-shadow: 0 8px 24px rgb(220 211 33 / 0.35);
}
Citrine
#dcd321 rgb(220, 211, 33) hsl(57, 74%, 50%) Citrine
#212adc rgb(33, 42, 220) hsl(237, 74%, 50%) Blue
#21dcd3 rgb(33, 220, 211) hsl(177, 74%, 50%) Turquoise
#d321dc rgb(211, 33, 220) hsl(297, 74%, 50%) Medium Orchid