#d7cd2e ≈ Citrine
#d7cd2e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 84.31% red, 80.39% green and 18.04% blue; printed in CMYK it uses 0% cyan, 4.65% magenta, 78.6% yellow and 15.69% black. Its hue angle is 56.45°, with 67.87% saturation and 51.18% 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.66:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.3.
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.5831 |
Shades
#d7cd2e mixed progressively with black.
Tints
#d7cd2e mixed progressively with white.
Tones
#d7cd2e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d7cd2e {
color: #d7cd2e;
}
.bg-d7cd2e {
background-color: #d7cd2e;
color: #000000;
}
.border-d7cd2e {
border: 2px solid #d7cd2e;
}
:root {
--color-primary: #d7cd2e;
--color-primary-rgb: 215 205 46;
--color-primary-hsl: 56 68% 51%;
}
.gradient-d7cd2e {
background: linear-gradient(135deg, #d7cd2e, #8dd72e);
}
.shadow-d7cd2e {
box-shadow: 0 8px 24px rgb(215 205 46 / 0.35);
}
Citrine
#d7cd2e rgb(215, 205, 46) hsl(56, 68%, 51%) Citrine
#2e38d7 rgb(46, 56, 215) hsl(236, 68%, 51%) Persian Blue
#2ed7cd rgb(46, 215, 205) hsl(176, 68%, 51%) Medium Turquoise
#cd2ed7 rgb(205, 46, 215) hsl(296, 68%, 51%) Medium Orchid