#dcd22c ≈ Citrine
#dcd22c 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.35% green and 17.25% blue; printed in CMYK it uses 0% cyan, 4.55% magenta, 80% yellow and 13.73% black. Its hue angle is 56.59°, with 71.54% saturation and 51.76% 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.3:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.84.
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.6149 |
Shades
#dcd22c mixed progressively with black.
Tints
#dcd22c mixed progressively with white.
Tones
#dcd22c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcd22c {
color: #dcd22c;
}
.bg-dcd22c {
background-color: #dcd22c;
color: #000000;
}
.border-dcd22c {
border: 2px solid #dcd22c;
}
:root {
--color-primary: #dcd22c;
--color-primary-rgb: 220 210 44;
--color-primary-hsl: 57 72% 52%;
}
.gradient-dcd22c {
background: linear-gradient(135deg, #dcd22c, #8edc2c);
}
.shadow-dcd22c {
box-shadow: 0 8px 24px rgb(220 210 44 / 0.35);
}
Citrine
#dcd22c rgb(220, 210, 44) hsl(57, 72%, 52%) Citrine
#2c36dc rgb(44, 54, 220) hsl(237, 72%, 52%) Persian Blue
#2cdcd2 rgb(44, 220, 210) hsl(177, 72%, 52%) Turquoise
#d22cdc rgb(210, 44, 220) hsl(297, 72%, 52%) Medium Orchid