#ccca1a ≈ Citrine
#ccca1a is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 79.22% green and 10.2% blue; printed in CMYK it uses 0% cyan, 0.98% magenta, 87.25% yellow and 20% black. Its hue angle is 59.33°, with 77.39% saturation and 45.1% 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 12.03:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 5.01.
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.5515 |
Shades
#ccca1a mixed progressively with black.
Tints
#ccca1a mixed progressively with white.
Tones
#ccca1a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ccca1a {
color: #ccca1a;
}
.bg-ccca1a {
background-color: #ccca1a;
color: #000000;
}
.border-ccca1a {
border: 2px solid #ccca1a;
}
:root {
--color-primary: #ccca1a;
--color-primary-rgb: 204 202 26;
--color-primary-hsl: 59 77% 45%;
}
.gradient-ccca1a {
background: linear-gradient(135deg, #ccca1a, #75cc1a);
}
.shadow-ccca1a {
box-shadow: 0 8px 24px rgb(204 202 26 / 0.35);
}
Citrine
#ccca1a rgb(204, 202, 26) hsl(59, 77%, 45%) Citrine
#1a1ccc rgb(26, 28, 204) hsl(239, 77%, 45%) Medium Blue
#1accca rgb(26, 204, 202) hsl(179, 77%, 45%) Robin Egg Blue
#ca1acc rgb(202, 26, 204) hsl(299, 77%, 45%) Medium Orchid