#d2cf2b ≈ Citrine
#d2cf2b is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 82.35% red, 81.18% green and 16.86% blue; printed in CMYK it uses 0% cyan, 1.43% magenta, 79.52% yellow and 17.65% black. Its hue angle is 58.92°, with 66.01% saturation and 49.61% 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.7:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.59.
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.585 |
Shades
#d2cf2b mixed progressively with black.
Tints
#d2cf2b mixed progressively with white.
Tones
#d2cf2b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2cf2b {
color: #d2cf2b;
}
.bg-d2cf2b {
background-color: #d2cf2b;
color: #000000;
}
.border-d2cf2b {
border: 2px solid #d2cf2b;
}
:root {
--color-primary: #d2cf2b;
--color-primary-rgb: 210 207 43;
--color-primary-hsl: 59 66% 50%;
}
.gradient-d2cf2b {
background: linear-gradient(135deg, #d2cf2b, #82d22b);
}
.shadow-d2cf2b {
box-shadow: 0 8px 24px rgb(210 207 43 / 0.35);
}
Citrine
#d2cf2b rgb(210, 207, 43) hsl(59, 66%, 50%) Citrine
#2b2ed2 rgb(43, 46, 210) hsl(239, 66%, 50%) Persian Blue
#2bd2cf rgb(43, 210, 207) hsl(179, 66%, 50%) Medium Turquoise
#cf2bd2 rgb(207, 43, 210) hsl(299, 66%, 50%) Medium Orchid