#cdc321 ≈ Citrine
#cdc321 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 76.47% green and 12.94% blue; printed in CMYK it uses 0% cyan, 4.88% magenta, 83.9% yellow and 19.61% black. Its hue angle is 56.51°, 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.42:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.71.
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.5212 |
Shades
#cdc321 mixed progressively with black.
Tints
#cdc321 mixed progressively with white.
Tones
#cdc321 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdc321 {
color: #cdc321;
}
.bg-cdc321 {
background-color: #cdc321;
color: #000000;
}
.border-cdc321 {
border: 2px solid #cdc321;
}
:root {
--color-primary: #cdc321;
--color-primary-rgb: 205 195 33;
--color-primary-hsl: 57 72% 47%;
}
.gradient-cdc321 {
background: linear-gradient(135deg, #cdc321, #81cd21);
}
.shadow-cdc321 {
box-shadow: 0 8px 24px rgb(205 195 33 / 0.35);
}
Citrine
#cdc321 rgb(205, 195, 33) hsl(57, 72%, 47%) Citrine
#212bcd rgb(33, 43, 205) hsl(237, 72%, 47%) Persian Blue
#21cdc3 rgb(33, 205, 195) hsl(177, 72%, 47%) Medium Turquoise
#c321cd rgb(195, 33, 205) hsl(297, 72%, 47%) Electric Purple