#d1cd2c ≈ Citrine
#d1cd2c is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 81.96% red, 80.39% green and 17.25% blue; printed in CMYK it uses 0% cyan, 1.91% magenta, 78.95% yellow and 18.04% black. Its hue angle is 58.55°, with 65.22% saturation and 49.61% 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.48:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.57.
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.574 |
Shades
#d1cd2c mixed progressively with black.
Tints
#d1cd2c mixed progressively with white.
Tones
#d1cd2c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d1cd2c {
color: #d1cd2c;
}
.bg-d1cd2c {
background-color: #d1cd2c;
color: #000000;
}
.border-d1cd2c {
border: 2px solid #d1cd2c;
}
:root {
--color-primary: #d1cd2c;
--color-primary-rgb: 209 205 44;
--color-primary-hsl: 59 65% 50%;
}
.gradient-d1cd2c {
background: linear-gradient(135deg, #d1cd2c, #82d12c);
}
.shadow-d1cd2c {
box-shadow: 0 8px 24px rgb(209 205 44 / 0.35);
}
Citrine
#d1cd2c rgb(209, 205, 44) hsl(59, 65%, 50%) Citrine
#2c30d1 rgb(44, 48, 209) hsl(239, 65%, 50%) Persian Blue
#2cd1cd rgb(44, 209, 205) hsl(179, 65%, 50%) Medium Turquoise
#cd2cd1 rgb(205, 44, 209) hsl(299, 65%, 50%) Medium Orchid