#d9ca2f ≈ Citrine
#d9ca2f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 85.1% red, 79.22% green and 18.43% blue; printed in CMYK it uses 0% cyan, 6.91% magenta, 78.34% yellow and 14.9% black. Its hue angle is 54.71°, with 69.11% saturation and 51.76% 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 12.44:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.89.
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.572 |
Shades
#d9ca2f mixed progressively with black.
Tints
#d9ca2f mixed progressively with white.
Tones
#d9ca2f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d9ca2f {
color: #d9ca2f;
}
.bg-d9ca2f {
background-color: #d9ca2f;
color: #000000;
}
.border-d9ca2f {
border: 2px solid #d9ca2f;
}
:root {
--color-primary: #d9ca2f;
--color-primary-rgb: 217 202 47;
--color-primary-hsl: 55 69% 52%;
}
.gradient-d9ca2f {
background: linear-gradient(135deg, #d9ca2f, #93d92f);
}
.shadow-d9ca2f {
box-shadow: 0 8px 24px rgb(217 202 47 / 0.35);
}
Citrine
#d9ca2f rgb(217, 202, 47) hsl(55, 69%, 52%) Citrine
#2f3ed9 rgb(47, 62, 217) hsl(235, 69%, 52%) Persian Blue
#2fd9ca rgb(47, 217, 202) hsl(175, 69%, 52%) Turquoise
#ca2fd9 rgb(202, 47, 217) hsl(295, 69%, 52%) Medium Orchid