#ccc520 ≈ Citrine
#ccc520 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 77.25% green and 12.55% blue; printed in CMYK it uses 0% cyan, 3.43% magenta, 84.31% yellow and 20% black. Its hue angle is 57.56°, with 72.88% saturation and 46.27% 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.57:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.84.
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.5287 |
Shades
#ccc520 mixed progressively with black.
Tints
#ccc520 mixed progressively with white.
Tones
#ccc520 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ccc520 {
color: #ccc520;
}
.bg-ccc520 {
background-color: #ccc520;
color: #000000;
}
.border-ccc520 {
border: 2px solid #ccc520;
}
:root {
--color-primary: #ccc520;
--color-primary-rgb: 204 197 32;
--color-primary-hsl: 58 73% 46%;
}
.gradient-ccc520 {
background: linear-gradient(135deg, #ccc520, #7dcc20);
}
.shadow-ccc520 {
box-shadow: 0 8px 24px rgb(204 197 32 / 0.35);
}
Citrine
#ccc520 rgb(204, 197, 32) hsl(58, 73%, 46%) Citrine
#2027cc rgb(32, 39, 204) hsl(238, 73%, 46%) Medium Blue
#20ccc5 rgb(32, 204, 197) hsl(178, 73%, 46%) Medium Turquoise
#c520cc rgb(197, 32, 204) hsl(298, 73%, 46%) Medium Orchid