#ccc41b ≈ Citrine
#ccc41b is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 76.86% green and 10.59% blue; printed in CMYK it uses 0% cyan, 3.92% magenta, 86.76% yellow and 20% black. Its hue angle is 57.29°, with 76.62% saturation and 45.29% 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.48:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.76.
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.524 |
Shades
#ccc41b mixed progressively with black.
Tints
#ccc41b mixed progressively with white.
Tones
#ccc41b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ccc41b {
color: #ccc41b;
}
.bg-ccc41b {
background-color: #ccc41b;
color: #000000;
}
.border-ccc41b {
border: 2px solid #ccc41b;
}
:root {
--color-primary: #ccc41b;
--color-primary-rgb: 204 196 27;
--color-primary-hsl: 57 77% 45%;
}
.gradient-ccc41b {
background: linear-gradient(135deg, #ccc41b, #7bcc1b);
}
.shadow-ccc41b {
box-shadow: 0 8px 24px rgb(204 196 27 / 0.35);
}
Citrine
#ccc41b rgb(204, 196, 27) hsl(57, 77%, 45%) Citrine
#1b23cc rgb(27, 35, 204) hsl(237, 77%, 45%) Medium Blue
#1bccc4 rgb(27, 204, 196) hsl(177, 77%, 45%) Medium Turquoise
#c41bcc rgb(196, 27, 204) hsl(297, 77%, 45%) Electric Purple