#ccc002 ≈ Citrine
#ccc002 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 75.29% green and 0.78% blue; printed in CMYK it uses 0% cyan, 5.88% magenta, 99.02% yellow and 20% black. Its hue angle is 56.44°, with 98.06% saturation and 40.39% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 11.11:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.78.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc00 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.5054 |
Shades
#ccc002 mixed progressively with black.
Tints
#ccc002 mixed progressively with white.
Tones
#ccc002 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ccc002 {
color: #ccc002;
}
.bg-ccc002 {
background-color: #ccc002;
color: #000000;
}
.border-ccc002 {
border: 2px solid #ccc002;
}
:root {
--color-primary: #ccc002;
--color-primary-rgb: 204 192 2;
--color-primary-hsl: 56 98% 40%;
}
.gradient-ccc002 {
background: linear-gradient(135deg, #ccc002, #73cc02);
}
.shadow-ccc002 {
box-shadow: 0 8px 24px rgb(204 192 2 / 0.35);
}
Citrine
#ccc002 rgb(204, 192, 2) hsl(56, 98%, 40%) Citrine
#020ecc rgb(2, 14, 204) hsl(236, 98%, 40%) Medium Blue
#02ccc0 rgb(2, 204, 192) hsl(176, 98%, 40%) Medium Turquoise
#c002cc rgb(192, 2, 204) hsl(296, 98%, 40%) Dark Orchid