#ccc508 ≈ Citrine
#ccc508 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 77.25% green and 3.14% blue; printed in CMYK it uses 0% cyan, 3.43% magenta, 96.08% yellow and 20% black. Its hue angle is 57.86°, with 92.45% saturation and 41.57% 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.56:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.58.
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.5279 |
Shades
#ccc508 mixed progressively with black.
Tints
#ccc508 mixed progressively with white.
Tones
#ccc508 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ccc508 {
color: #ccc508;
}
.bg-ccc508 {
background-color: #ccc508;
color: #000000;
}
.border-ccc508 {
border: 2px solid #ccc508;
}
:root {
--color-primary: #ccc508;
--color-primary-rgb: 204 197 8;
--color-primary-hsl: 58 92% 42%;
}
.gradient-ccc508 {
background: linear-gradient(135deg, #ccc508, #71cc08);
}
.shadow-ccc508 {
box-shadow: 0 8px 24px rgb(204 197 8 / 0.35);
}
Citrine
#ccc508 rgb(204, 197, 8) hsl(58, 92%, 42%) Citrine
#080fcc rgb(8, 15, 204) hsl(238, 92%, 42%) Medium Blue
#08ccc5 rgb(8, 204, 197) hsl(178, 92%, 42%) Robin Egg Blue
#c508cc rgb(197, 8, 204) hsl(298, 92%, 42%) Electric Purple