#cac321 ≈ Citrine
#cac321 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 79.22% red, 76.47% green and 12.94% blue; printed in CMYK it uses 0% cyan, 3.47% magenta, 83.66% yellow and 20.78% black. Its hue angle is 57.51°, with 71.91% saturation and 46.08% 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.34:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 5.26.
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.517 |
Shades
#cac321 mixed progressively with black.
Tints
#cac321 mixed progressively with white.
Tones
#cac321 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cac321 {
color: #cac321;
}
.bg-cac321 {
background-color: #cac321;
color: #000000;
}
.border-cac321 {
border: 2px solid #cac321;
}
:root {
--color-primary: #cac321;
--color-primary-rgb: 202 195 33;
--color-primary-hsl: 58 72% 46%;
}
.gradient-cac321 {
background: linear-gradient(135deg, #cac321, #7dca21);
}
.shadow-cac321 {
box-shadow: 0 8px 24px rgb(202 195 33 / 0.35);
}
Citrine
#cac321 rgb(202, 195, 33) hsl(58, 72%, 46%) Citrine
#2128ca rgb(33, 40, 202) hsl(238, 72%, 46%) Persian Blue
#21cac3 rgb(33, 202, 195) hsl(178, 72%, 46%) Robin Egg Blue
#c321ca rgb(195, 33, 202) hsl(298, 72%, 46%) Medium Orchid