#d2c50b ≈ Citrine
#d2c50b is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 82.35% red, 77.25% green and 4.31% blue; printed in CMYK it uses 0% cyan, 6.19% magenta, 94.76% yellow and 17.65% black. Its hue angle is 56.08°, with 90.05% saturation and 43.33% 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.73:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.5.
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.5366 |
Shades
#d2c50b mixed progressively with black.
Tints
#d2c50b mixed progressively with white.
Tones
#d2c50b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2c50b {
color: #d2c50b;
}
.bg-d2c50b {
background-color: #d2c50b;
color: #000000;
}
.border-d2c50b {
border: 2px solid #d2c50b;
}
:root {
--color-primary: #d2c50b;
--color-primary-rgb: 210 197 11;
--color-primary-hsl: 56 90% 43%;
}
.gradient-d2c50b {
background: linear-gradient(135deg, #d2c50b, #7bd20b);
}
.shadow-d2c50b {
box-shadow: 0 8px 24px rgb(210 197 11 / 0.35);
}
Citrine
#d2c50b rgb(210, 197, 11) hsl(56, 90%, 43%) Citrine
#0b18d2 rgb(11, 24, 210) hsl(236, 90%, 43%) Medium Blue
#0bd2c5 rgb(11, 210, 197) hsl(176, 90%, 43%) Medium Turquoise
#c50bd2 rgb(197, 11, 210) hsl(296, 90%, 43%) Electric Purple