#cdca2d ≈ Citrine
#cdca2d is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 79.22% green and 17.65% blue; printed in CMYK it uses 0% cyan, 1.46% magenta, 78.05% yellow and 19.61% black. Its hue angle is 58.87°, with 64% 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 12.08:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 5.2.
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.5541 |
Shades
#cdca2d mixed progressively with black.
Tints
#cdca2d mixed progressively with white.
Tones
#cdca2d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdca2d {
color: #cdca2d;
}
.bg-cdca2d {
background-color: #cdca2d;
color: #000000;
}
.border-cdca2d {
border: 2px solid #cdca2d;
}
:root {
--color-primary: #cdca2d;
--color-primary-rgb: 205 202 45;
--color-primary-hsl: 59 64% 49%;
}
.gradient-cdca2d {
background: linear-gradient(135deg, #cdca2d, #80cd2d);
}
.shadow-cdca2d {
box-shadow: 0 8px 24px rgb(205 202 45 / 0.35);
}
Citrine
#cdca2d rgb(205, 202, 45) hsl(59, 64%, 49%) Citrine
#2d30cd rgb(45, 48, 205) hsl(239, 64%, 49%) Persian Blue
#2dcdca rgb(45, 205, 202) hsl(179, 64%, 49%) Robin Egg Blue
#ca2dcd rgb(202, 45, 205) hsl(299, 64%, 49%) Medium Orchid