#d1cd2a ≈ Citrine
#d1cd2a 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 16.47% blue; printed in CMYK it uses 0% cyan, 1.91% magenta, 79.9% yellow and 18.04% black. Its hue angle is 58.56°, with 66.53% 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.48:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.51.
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.5739 |
Shades
#d1cd2a mixed progressively with black.
Tints
#d1cd2a mixed progressively with white.
Tones
#d1cd2a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d1cd2a {
color: #d1cd2a;
}
.bg-d1cd2a {
background-color: #d1cd2a;
color: #000000;
}
.border-d1cd2a {
border: 2px solid #d1cd2a;
}
:root {
--color-primary: #d1cd2a;
--color-primary-rgb: 209 205 42;
--color-primary-hsl: 59 67% 49%;
}
.gradient-d1cd2a {
background: linear-gradient(135deg, #d1cd2a, #82d12a);
}
.shadow-d1cd2a {
box-shadow: 0 8px 24px rgb(209 205 42 / 0.35);
}
Citrine
#d1cd2a rgb(209, 205, 42) hsl(59, 67%, 49%) Citrine
#2a2ed1 rgb(42, 46, 209) hsl(239, 67%, 49%) Persian Blue
#2ad1cd rgb(42, 209, 205) hsl(179, 67%, 49%) Medium Turquoise
#cd2ad1 rgb(205, 42, 209) hsl(299, 67%, 49%) Medium Orchid