#cdca2f ≈ Citrine
#cdca2f 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 18.43% blue; printed in CMYK it uses 0% cyan, 1.46% magenta, 77.07% yellow and 19.61% black. Its hue angle is 58.86°, with 62.7% saturation and 49.41% 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.09:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 5.27.
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.5543 |
Shades
#cdca2f mixed progressively with black.
Tints
#cdca2f mixed progressively with white.
Tones
#cdca2f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdca2f {
color: #cdca2f;
}
.bg-cdca2f {
background-color: #cdca2f;
color: #000000;
}
.border-cdca2f {
border: 2px solid #cdca2f;
}
:root {
--color-primary: #cdca2f;
--color-primary-rgb: 205 202 47;
--color-primary-hsl: 59 63% 49%;
}
.gradient-cdca2f {
background: linear-gradient(135deg, #cdca2f, #81cd2f);
}
.shadow-cdca2f {
box-shadow: 0 8px 24px rgb(205 202 47 / 0.35);
}
Citrine
#cdca2f rgb(205, 202, 47) hsl(59, 63%, 49%) Citrine
#2f32cd rgb(47, 50, 205) hsl(239, 63%, 49%) Persian Blue
#2fcdca rgb(47, 205, 202) hsl(179, 63%, 49%) Robin Egg Blue
#ca2fcd rgb(202, 47, 205) hsl(299, 63%, 49%) Medium Orchid