#d2c101 ≈ Citrine
#d2c101 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 82.35% red, 75.69% green and 0.39% blue; printed in CMYK it uses 0% cyan, 8.1% magenta, 99.52% yellow and 17.65% black. Its hue angle is 55.12°, with 99.05% saturation and 41.37% 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 11.37:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.94.
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.5184 |
Shades
#d2c101 mixed progressively with black.
Tints
#d2c101 mixed progressively with white.
Tones
#d2c101 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2c101 {
color: #d2c101;
}
.bg-d2c101 {
background-color: #d2c101;
color: #000000;
}
.border-d2c101 {
border: 2px solid #d2c101;
}
:root {
--color-primary: #d2c101;
--color-primary-rgb: 210 193 1;
--color-primary-hsl: 55 99% 41%;
}
.gradient-d2c101 {
background: linear-gradient(135deg, #d2c101, #7ad201);
}
.shadow-d2c101 {
box-shadow: 0 8px 24px rgb(210 193 1 / 0.35);
}
Citrine
#d2c101 rgb(210, 193, 1) hsl(55, 99%, 41%) Citrine
#0112d2 rgb(1, 18, 210) hsl(235, 99%, 41%) Medium Blue
#01d2c1 rgb(1, 210, 193) hsl(175, 99%, 41%) Turquoise
#c101d2 rgb(193, 1, 210) hsl(295, 99%, 41%) Electric Purple