#cdc01b ≈ Citrine
#cdc01b is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 75.29% green and 10.59% blue; printed in CMYK it uses 0% cyan, 6.34% magenta, 86.83% yellow and 19.61% black. Its hue angle is 55.62°, with 76.72% saturation and 45.49% 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.15:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.85.
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.5076 |
Shades
#cdc01b mixed progressively with black.
Tints
#cdc01b mixed progressively with white.
Tones
#cdc01b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdc01b {
color: #cdc01b;
}
.bg-cdc01b {
background-color: #cdc01b;
color: #000000;
}
.border-cdc01b {
border: 2px solid #cdc01b;
}
:root {
--color-primary: #cdc01b;
--color-primary-rgb: 205 192 27;
--color-primary-hsl: 56 77% 45%;
}
.gradient-cdc01b {
background: linear-gradient(135deg, #cdc01b, #81cd1b);
}
.shadow-cdc01b {
box-shadow: 0 8px 24px rgb(205 192 27 / 0.35);
}
Citrine
#cdc01b rgb(205, 192, 27) hsl(56, 77%, 45%) Citrine
#1b28cd rgb(27, 40, 205) hsl(236, 77%, 45%) Persian Blue
#1bcdc0 rgb(27, 205, 192) hsl(176, 77%, 45%) Medium Turquoise
#c01bcd rgb(192, 27, 205) hsl(296, 77%, 45%) Electric Purple