#cdc021 ≈ Citrine
#cdc021 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 75.29% green and 12.94% blue; printed in CMYK it uses 0% cyan, 6.34% magenta, 83.9% yellow and 19.61% black. Its hue angle is 55.47°, with 72.27% saturation and 46.67% 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.16:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.96.
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.5079 |
Shades
#cdc021 mixed progressively with black.
Tints
#cdc021 mixed progressively with white.
Tones
#cdc021 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdc021 {
color: #cdc021;
}
.bg-cdc021 {
background-color: #cdc021;
color: #000000;
}
.border-cdc021 {
border: 2px solid #cdc021;
}
:root {
--color-primary: #cdc021;
--color-primary-rgb: 205 192 33;
--color-primary-hsl: 55 72% 47%;
}
.gradient-cdc021 {
background: linear-gradient(135deg, #cdc021, #84cd21);
}
.shadow-cdc021 {
box-shadow: 0 8px 24px rgb(205 192 33 / 0.35);
}
Citrine
#cdc021 rgb(205, 192, 33) hsl(55, 72%, 47%) Citrine
#212ecd rgb(33, 46, 205) hsl(235, 72%, 47%) Persian Blue
#21cdc0 rgb(33, 205, 192) hsl(175, 72%, 47%) Medium Turquoise
#c021cd rgb(192, 33, 205) hsl(295, 72%, 47%) Electric Purple