#c2c021 ≈ Citrine
#c2c021 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 76.08% red, 75.29% green and 12.94% blue; printed in CMYK it uses 0% cyan, 1.03% magenta, 82.99% yellow and 23.92% black. Its hue angle is 59.25°, with 70.93% saturation and 44.51% 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 10.86:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 6.85.
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.4928 |
Shades
#c2c021 mixed progressively with black.
Tints
#c2c021 mixed progressively with white.
Tones
#c2c021 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c2c021 {
color: #c2c021;
}
.bg-c2c021 {
background-color: #c2c021;
color: #000000;
}
.border-c2c021 {
border: 2px solid #c2c021;
}
:root {
--color-primary: #c2c021;
--color-primary-rgb: 194 192 33;
--color-primary-hsl: 59 71% 45%;
}
.gradient-c2c021 {
background: linear-gradient(135deg, #c2c021, #74c221);
}
.shadow-c2c021 {
box-shadow: 0 8px 24px rgb(194 192 33 / 0.35);
}
Citrine
#c2c021 rgb(194, 192, 33) hsl(59, 71%, 45%) Citrine
#2123c2 rgb(33, 35, 194) hsl(239, 71%, 45%) Medium Blue
#21c2c0 rgb(33, 194, 192) hsl(179, 71%, 45%) Tiffany Blue
#c021c2 rgb(192, 33, 194) hsl(299, 71%, 45%) Dark Orchid