#d9d40c ≈ Citrine
#d9d40c is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 85.1% red, 83.14% green and 4.71% blue; printed in CMYK it uses 0% cyan, 2.3% magenta, 94.47% yellow and 14.9% black. Its hue angle is 58.54°, with 89.52% saturation and 44.9% 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 13.37:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.55.
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.6187 |
Shades
#d9d40c mixed progressively with black.
Tints
#d9d40c mixed progressively with white.
Tones
#d9d40c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d9d40c {
color: #d9d40c;
}
.bg-d9d40c {
background-color: #d9d40c;
color: #000000;
}
.border-d9d40c {
border: 2px solid #d9d40c;
}
:root {
--color-primary: #d9d40c;
--color-primary-rgb: 217 212 12;
--color-primary-hsl: 59 90% 45%;
}
.gradient-d9d40c {
background: linear-gradient(135deg, #d9d40c, #77d90c);
}
.shadow-d9d40c {
box-shadow: 0 8px 24px rgb(217 212 12 / 0.35);
}
Citrine
#d9d40c rgb(217, 212, 12) hsl(59, 90%, 45%) Citrine
#0c11d9 rgb(12, 17, 217) hsl(239, 90%, 45%) Medium Blue
#0cd9d4 rgb(12, 217, 212) hsl(179, 90%, 45%) Medium Turquoise
#d40cd9 rgb(212, 12, 217) hsl(299, 90%, 45%) Electric Purple