#ccc021 ≈ Citrine
#ccc021 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 75.29% green and 12.94% blue; printed in CMYK it uses 0% cyan, 5.88% magenta, 83.82% yellow and 20% black. Its hue angle is 55.79°, with 72.15% saturation and 46.47% 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.13:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 5.09.
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.5065 |
Shades
#ccc021 mixed progressively with black.
Tints
#ccc021 mixed progressively with white.
Tones
#ccc021 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ccc021 {
color: #ccc021;
}
.bg-ccc021 {
background-color: #ccc021;
color: #000000;
}
.border-ccc021 {
border: 2px solid #ccc021;
}
:root {
--color-primary: #ccc021;
--color-primary-rgb: 204 192 33;
--color-primary-hsl: 56 72% 46%;
}
.gradient-ccc021 {
background: linear-gradient(135deg, #ccc021, #82cc21);
}
.shadow-ccc021 {
box-shadow: 0 8px 24px rgb(204 192 33 / 0.35);
}
Citrine
#ccc021 rgb(204, 192, 33) hsl(56, 72%, 46%) Citrine
#212dcc rgb(33, 45, 204) hsl(236, 72%, 46%) Persian Blue
#21ccc0 rgb(33, 204, 192) hsl(176, 72%, 46%) Medium Turquoise
#c021cc rgb(192, 33, 204) hsl(296, 72%, 46%) Electric Purple