#d2cd07 ≈ Citrine
#d2cd07 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 82.35% red, 80.39% green and 2.75% blue; printed in CMYK it uses 0% cyan, 2.38% magenta, 96.67% yellow and 17.65% black. Its hue angle is 58.52°, with 93.55% saturation and 42.55% 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.82.
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.5738 |
Shades
#d2cd07 mixed progressively with black.
Tints
#d2cd07 mixed progressively with white.
Tones
#d2cd07 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2cd07 {
color: #d2cd07;
}
.bg-d2cd07 {
background-color: #d2cd07;
color: #000000;
}
.border-d2cd07 {
border: 2px solid #d2cd07;
}
:root {
--color-primary: #d2cd07;
--color-primary-rgb: 210 205 7;
--color-primary-hsl: 59 94% 43%;
}
.gradient-d2cd07 {
background: linear-gradient(135deg, #d2cd07, #72d207);
}
.shadow-d2cd07 {
box-shadow: 0 8px 24px rgb(210 205 7 / 0.35);
}
Citrine
#d2cd07 rgb(210, 205, 7) hsl(59, 94%, 43%) Citrine
#070cd2 rgb(7, 12, 210) hsl(239, 94%, 43%) Medium Blue
#07d2cd rgb(7, 210, 205) hsl(179, 94%, 43%) Medium Turquoise
#cd07d2 rgb(205, 7, 210) hsl(299, 94%, 43%) Electric Purple