#ccc20b ≈ Citrine
#ccc20b is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 76.08% green and 4.31% blue; printed in CMYK it uses 0% cyan, 4.9% magenta, 94.61% yellow and 20% black. Its hue angle is 56.89°, with 89.77% saturation and 42.16% 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.29:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.67.
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.5145 |
Shades
#ccc20b mixed progressively with black.
Tints
#ccc20b mixed progressively with white.
Tones
#ccc20b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ccc20b {
color: #ccc20b;
}
.bg-ccc20b {
background-color: #ccc20b;
color: #000000;
}
.border-ccc20b {
border: 2px solid #ccc20b;
}
:root {
--color-primary: #ccc20b;
--color-primary-rgb: 204 194 11;
--color-primary-hsl: 57 90% 42%;
}
.gradient-ccc20b {
background: linear-gradient(135deg, #ccc20b, #76cc0b);
}
.shadow-ccc20b {
box-shadow: 0 8px 24px rgb(204 194 11 / 0.35);
}
Citrine
#ccc20b rgb(204, 194, 11) hsl(57, 90%, 42%) Citrine
#0b15cc rgb(11, 21, 204) hsl(237, 90%, 42%) Medium Blue
#0bccc2 rgb(11, 204, 194) hsl(177, 90%, 42%) Medium Turquoise
#c20bcc rgb(194, 11, 204) hsl(297, 90%, 42%) Dark Orchid