#cdca02 ≈ Citrine
#cdca02 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.22% green and 0.78% blue; printed in CMYK it uses 0% cyan, 1.46% magenta, 99.02% yellow and 19.61% black. Its hue angle is 59.11°, 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.04:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.6.
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.5522 |
Shades
#cdca02 mixed progressively with black.
Tints
#cdca02 mixed progressively with white.
Tones
#cdca02 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdca02 {
color: #cdca02;
}
.bg-cdca02 {
background-color: #cdca02;
color: #000000;
}
.border-cdca02 {
border: 2px solid #cdca02;
}
:root {
--color-primary: #cdca02;
--color-primary-rgb: 205 202 2;
--color-primary-hsl: 59 98% 41%;
}
.gradient-cdca02 {
background: linear-gradient(135deg, #cdca02, #6bcd02);
}
.shadow-cdca02 {
box-shadow: 0 8px 24px rgb(205 202 2 / 0.35);
}
Citrine
#cdca02 rgb(205, 202, 2) hsl(59, 98%, 41%) Citrine
#0205cd rgb(2, 5, 205) hsl(239, 98%, 41%) Medium Blue
#02cdca rgb(2, 205, 202) hsl(179, 98%, 41%) Robin Egg Blue
#ca02cd rgb(202, 2, 205) hsl(299, 98%, 41%) Electric Purple