#cdcb02 ≈ Citrine
#cdcb02 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 79.61% green and 0.78% blue; printed in CMYK it uses 0% cyan, 0.98% magenta, 99.02% yellow and 19.61% black. Its hue angle is 59.41°, with 98.07% saturation and 40.59% 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 12.14:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.7.
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.557 |
Shades
#cdcb02 mixed progressively with black.
Tints
#cdcb02 mixed progressively with white.
Tones
#cdcb02 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdcb02 {
color: #cdcb02;
}
.bg-cdcb02 {
background-color: #cdcb02;
color: #000000;
}
.border-cdcb02 {
border: 2px solid #cdcb02;
}
:root {
--color-primary: #cdcb02;
--color-primary-rgb: 205 203 2;
--color-primary-hsl: 59 98% 41%;
}
.gradient-cdcb02 {
background: linear-gradient(135deg, #cdcb02, #6acd02);
}
.shadow-cdcb02 {
box-shadow: 0 8px 24px rgb(205 203 2 / 0.35);
}
Citrine
#cdcb02 rgb(205, 203, 2) hsl(59, 98%, 41%) Citrine
#0204cd rgb(2, 4, 205) hsl(239, 98%, 41%) Medium Blue
#02cdcb rgb(2, 205, 203) hsl(179, 98%, 41%) Robin Egg Blue
#cb02cd rgb(203, 2, 205) hsl(299, 98%, 41%) Electric Purple