#cdca2e ≈ Citrine
#cdca2e 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.04% blue; printed in CMYK it uses 0% cyan, 1.46% magenta, 77.56% yellow and 19.61% black. Its hue angle is 58.87°, with 63.35% saturation and 49.22% 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.23.
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.5542 |
Shades
#cdca2e mixed progressively with black.
Tints
#cdca2e mixed progressively with white.
Tones
#cdca2e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdca2e {
color: #cdca2e;
}
.bg-cdca2e {
background-color: #cdca2e;
color: #000000;
}
.border-cdca2e {
border: 2px solid #cdca2e;
}
:root {
--color-primary: #cdca2e;
--color-primary-rgb: 205 202 46;
--color-primary-hsl: 59 63% 49%;
}
.gradient-cdca2e {
background: linear-gradient(135deg, #cdca2e, #81cd2e);
}
.shadow-cdca2e {
box-shadow: 0 8px 24px rgb(205 202 46 / 0.35);
}
Citrine
#cdca2e rgb(205, 202, 46) hsl(59, 63%, 49%) Citrine
#2e31cd rgb(46, 49, 205) hsl(239, 63%, 49%) Persian Blue
#2ecdca rgb(46, 205, 202) hsl(179, 63%, 49%) Robin Egg Blue
#ca2ecd rgb(202, 46, 205) hsl(299, 63%, 49%) Medium Orchid