#d2d015 ≈ Citrine
#d2d015 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 82.35% red, 81.57% green and 8.24% blue; printed in CMYK it uses 0% cyan, 0.95% magenta, 90% yellow and 17.65% black. Its hue angle is 59.37°, with 81.82% saturation and 45.29% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 12.77:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.38.
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.5887 |
Shades
#d2d015 mixed progressively with black.
Tints
#d2d015 mixed progressively with white.
Tones
#d2d015 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2d015 {
color: #d2d015;
}
.bg-d2d015 {
background-color: #d2d015;
color: #000000;
}
.border-d2d015 {
border: 2px solid #d2d015;
}
:root {
--color-primary: #d2d015;
--color-primary-rgb: 210 208 21;
--color-primary-hsl: 59 82% 45%;
}
.gradient-d2d015 {
background: linear-gradient(135deg, #d2d015, #75d215);
}
.shadow-d2d015 {
box-shadow: 0 8px 24px rgb(210 208 21 / 0.35);
}
Citrine
#d2d015 rgb(210, 208, 21) hsl(59, 82%, 45%) Citrine
#1517d2 rgb(21, 23, 210) hsl(239, 82%, 45%) Medium Blue
#15d2d0 rgb(21, 210, 208) hsl(179, 82%, 45%) Robin Egg Blue
#d015d2 rgb(208, 21, 210) hsl(299, 82%, 45%) Medium Orchid