#d9c321 ≈ Citrine
#d9c321 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 85.1% red, 76.47% green and 12.94% blue; printed in CMYK it uses 0% cyan, 10.14% magenta, 84.79% yellow and 14.9% black. Its hue angle is 52.83°, with 73.6% saturation and 49.02% 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 11.78: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 | #cccc33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.5389 |
Shades
#d9c321 mixed progressively with black.
Tints
#d9c321 mixed progressively with white.
Tones
#d9c321 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d9c321 {
color: #d9c321;
}
.bg-d9c321 {
background-color: #d9c321;
color: #000000;
}
.border-d9c321 {
border: 2px solid #d9c321;
}
:root {
--color-primary: #d9c321;
--color-primary-rgb: 217 195 33;
--color-primary-hsl: 53 74% 49%;
}
.gradient-d9c321 {
background: linear-gradient(135deg, #d9c321, #93d921);
}
.shadow-d9c321 {
box-shadow: 0 8px 24px rgb(217 195 33 / 0.35);
}
Citrine
#d9c321 rgb(217, 195, 33) hsl(53, 74%, 49%) Citrine
#2137d9 rgb(33, 55, 217) hsl(233, 74%, 49%) Persian Blue
#21d9c3 rgb(33, 217, 195) hsl(173, 74%, 49%) Turquoise
#c321d9 rgb(195, 33, 217) hsl(293, 74%, 49%) Electric Purple