#d2d02c ≈ Citrine
#d2d02c 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 17.25% blue; printed in CMYK it uses 0% cyan, 0.95% magenta, 79.05% yellow and 17.65% black. Its hue angle is 59.28°, with 65.35% saturation and 49.8% 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.8:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.77.
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.59 |
Shades
#d2d02c mixed progressively with black.
Tints
#d2d02c mixed progressively with white.
Tones
#d2d02c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2d02c {
color: #d2d02c;
}
.bg-d2d02c {
background-color: #d2d02c;
color: #000000;
}
.border-d2d02c {
border: 2px solid #d2d02c;
}
:root {
--color-primary: #d2d02c;
--color-primary-rgb: 210 208 44;
--color-primary-hsl: 59 65% 50%;
}
.gradient-d2d02c {
background: linear-gradient(135deg, #d2d02c, #81d22c);
}
.shadow-d2d02c {
box-shadow: 0 8px 24px rgb(210 208 44 / 0.35);
}
Citrine
#d2d02c rgb(210, 208, 44) hsl(59, 65%, 50%) Citrine
#2c2ed2 rgb(44, 46, 210) hsl(239, 65%, 50%) Persian Blue
#2cd2d0 rgb(44, 210, 208) hsl(179, 65%, 50%) Medium Turquoise
#d02cd2 rgb(208, 44, 210) hsl(299, 65%, 50%) Medium Orchid