#ccca1b ≈ Citrine
#ccca1b 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.59% blue; printed in CMYK it uses 0% cyan, 0.98% magenta, 86.76% yellow and 20% black. Its hue angle is 59.32°, with 76.62% saturation and 45.29% 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.02.
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.5516 |
Shades
#ccca1b mixed progressively with black.
Tints
#ccca1b mixed progressively with white.
Tones
#ccca1b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ccca1b {
color: #ccca1b;
}
.bg-ccca1b {
background-color: #ccca1b;
color: #000000;
}
.border-ccca1b {
border: 2px solid #ccca1b;
}
:root {
--color-primary: #ccca1b;
--color-primary-rgb: 204 202 27;
--color-primary-hsl: 59 77% 45%;
}
.gradient-ccca1b {
background: linear-gradient(135deg, #ccca1b, #75cc1b);
}
.shadow-ccca1b {
box-shadow: 0 8px 24px rgb(204 202 27 / 0.35);
}
Citrine
#ccca1b rgb(204, 202, 27) hsl(59, 77%, 45%) Citrine
#1b1dcc rgb(27, 29, 204) hsl(239, 77%, 45%) Medium Blue
#1bccca rgb(27, 204, 202) hsl(179, 77%, 45%) Robin Egg Blue
#ca1bcc rgb(202, 27, 204) hsl(299, 77%, 45%) Medium Orchid