#ccc52e ≈ Citrine
#ccc52e 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 18.04% blue; printed in CMYK it uses 0% cyan, 3.43% magenta, 77.45% yellow and 20% black. Its hue angle is 57.34°, with 63.2% saturation and 49.02% 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.59:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 5.22.
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.5297 |
Shades
#ccc52e mixed progressively with black.
Tints
#ccc52e mixed progressively with white.
Tones
#ccc52e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ccc52e {
color: #ccc52e;
}
.bg-ccc52e {
background-color: #ccc52e;
color: #000000;
}
.border-ccc52e {
border: 2px solid #ccc52e;
}
:root {
--color-primary: #ccc52e;
--color-primary-rgb: 204 197 46;
--color-primary-hsl: 57 63% 49%;
}
.gradient-ccc52e {
background: linear-gradient(135deg, #ccc52e, #84cc2e);
}
.shadow-ccc52e {
box-shadow: 0 8px 24px rgb(204 197 46 / 0.35);
}
Citrine
#ccc52e rgb(204, 197, 46) hsl(57, 63%, 49%) Citrine
#2e35cc rgb(46, 53, 204) hsl(237, 63%, 49%) Persian Blue
#2eccc5 rgb(46, 204, 197) hsl(177, 63%, 49%) Medium Turquoise
#c52ecc rgb(197, 46, 204) hsl(297, 63%, 49%) Medium Orchid