#d1ca2b ≈ Citrine
#d1ca2b is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 81.96% red, 79.22% green and 16.86% blue; printed in CMYK it uses 0% cyan, 3.35% magenta, 79.43% yellow and 18.04% black. Its hue angle is 57.47°, with 65.87% saturation and 49.41% 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.19:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.25.
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.5597 |
Shades
#d1ca2b mixed progressively with black.
Tints
#d1ca2b mixed progressively with white.
Tones
#d1ca2b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d1ca2b {
color: #d1ca2b;
}
.bg-d1ca2b {
background-color: #d1ca2b;
color: #000000;
}
.border-d1ca2b {
border: 2px solid #d1ca2b;
}
:root {
--color-primary: #d1ca2b;
--color-primary-rgb: 209 202 43;
--color-primary-hsl: 57 66% 49%;
}
.gradient-d1ca2b {
background: linear-gradient(135deg, #d1ca2b, #85d12b);
}
.shadow-d1ca2b {
box-shadow: 0 8px 24px rgb(209 202 43 / 0.35);
}
Citrine
#d1ca2b rgb(209, 202, 43) hsl(57, 66%, 49%) Citrine
#2b32d1 rgb(43, 50, 209) hsl(237, 66%, 49%) Persian Blue
#2bd1ca rgb(43, 209, 202) hsl(177, 66%, 49%) Medium Turquoise
#ca2bd1 rgb(202, 43, 209) hsl(297, 66%, 49%) Medium Orchid