#d2cd15 ≈ Citrine
#d2cd15 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 82.35% red, 80.39% green and 8.24% blue; printed in CMYK it uses 0% cyan, 2.38% magenta, 90% yellow and 17.65% black. Its hue angle is 58.41°, with 81.82% saturation and 45.29% 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 12.48:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.91.
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.5742 |
Shades
#d2cd15 mixed progressively with black.
Tints
#d2cd15 mixed progressively with white.
Tones
#d2cd15 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2cd15 {
color: #d2cd15;
}
.bg-d2cd15 {
background-color: #d2cd15;
color: #000000;
}
.border-d2cd15 {
border: 2px solid #d2cd15;
}
:root {
--color-primary: #d2cd15;
--color-primary-rgb: 210 205 21;
--color-primary-hsl: 58 82% 45%;
}
.gradient-d2cd15 {
background: linear-gradient(135deg, #d2cd15, #78d215);
}
.shadow-d2cd15 {
box-shadow: 0 8px 24px rgb(210 205 21 / 0.35);
}
Citrine
#d2cd15 rgb(210, 205, 21) hsl(58, 82%, 45%) Citrine
#151ad2 rgb(21, 26, 210) hsl(238, 82%, 45%) Medium Blue
#15d2cd rgb(21, 210, 205) hsl(178, 82%, 45%) Medium Turquoise
#cd15d2 rgb(205, 21, 210) hsl(298, 82%, 45%) Electric Purple