#d2c00a ≈ Citrine
#d2c00a 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.29% green and 3.92% blue; printed in CMYK it uses 0% cyan, 8.57% magenta, 95.24% yellow and 17.65% black. Its hue angle is 54.6°, with 90.91% saturation and 43.14% 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.28:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.15.
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.5142 |
Shades
#d2c00a mixed progressively with black.
Tints
#d2c00a mixed progressively with white.
Tones
#d2c00a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2c00a {
color: #d2c00a;
}
.bg-d2c00a {
background-color: #d2c00a;
color: #000000;
}
.border-d2c00a {
border: 2px solid #d2c00a;
}
:root {
--color-primary: #d2c00a;
--color-primary-rgb: 210 192 10;
--color-primary-hsl: 55 91% 43%;
}
.gradient-d2c00a {
background: linear-gradient(135deg, #d2c00a, #80d20a);
}
.shadow-d2c00a {
box-shadow: 0 8px 24px rgb(210 192 10 / 0.35);
}
Citrine
#d2c00a rgb(210, 192, 10) hsl(55, 91%, 43%) Citrine
#0a1cd2 rgb(10, 28, 210) hsl(235, 91%, 43%) Medium Blue
#0ad2c0 rgb(10, 210, 192) hsl(175, 91%, 43%) Turquoise
#c00ad2 rgb(192, 10, 210) hsl(295, 91%, 43%) Electric Purple