#cdc219 ≈ Citrine
#cdc219 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 76.08% green and 9.8% blue; printed in CMYK it uses 0% cyan, 5.37% magenta, 87.8% yellow and 19.61% black. Its hue angle is 56.33°, with 78.26% saturation and 45.1% 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 11.33:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.63.
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.5163 |
Shades
#cdc219 mixed progressively with black.
Tints
#cdc219 mixed progressively with white.
Tones
#cdc219 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdc219 {
color: #cdc219;
}
.bg-cdc219 {
background-color: #cdc219;
color: #000000;
}
.border-cdc219 {
border: 2px solid #cdc219;
}
:root {
--color-primary: #cdc219;
--color-primary-rgb: 205 194 25;
--color-primary-hsl: 56 78% 45%;
}
.gradient-cdc219 {
background: linear-gradient(135deg, #cdc219, #7ecd19);
}
.shadow-cdc219 {
box-shadow: 0 8px 24px rgb(205 194 25 / 0.35);
}
Citrine
#cdc219 rgb(205, 194, 25) hsl(56, 78%, 45%) Citrine
#1924cd rgb(25, 36, 205) hsl(236, 78%, 45%) Medium Blue
#19cdc2 rgb(25, 205, 194) hsl(176, 78%, 45%) Medium Turquoise
#c219cd rgb(194, 25, 205) hsl(296, 78%, 45%) Electric Purple