#d2c640 ≈ Citrine
#d2c640 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 82.35% red, 77.65% green and 25.1% blue; printed in CMYK it uses 0% cyan, 5.71% magenta, 69.52% yellow and 17.65% black. Its hue angle is 55.07°, with 61.86% saturation and 53.73% 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 11.89:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 5.09.
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.5446 |
Shades
#d2c640 mixed progressively with black.
Tints
#d2c640 mixed progressively with white.
Tones
#d2c640 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2c640 {
color: #d2c640;
}
.bg-d2c640 {
background-color: #d2c640;
color: #000000;
}
.border-d2c640 {
border: 2px solid #d2c640;
}
:root {
--color-primary: #d2c640;
--color-primary-rgb: 210 198 64;
--color-primary-hsl: 55 62% 54%;
}
.gradient-d2c640 {
background: linear-gradient(135deg, #d2c640, #95d240);
}
.shadow-d2c640 {
box-shadow: 0 8px 24px rgb(210 198 64 / 0.35);
}
Citrine
#d2c640 rgb(210, 198, 64) hsl(55, 62%, 54%) Citrine
#404cd2 rgb(64, 76, 210) hsl(235, 62%, 54%) Iris
#40d2c6 rgb(64, 210, 198) hsl(175, 62%, 54%) Medium Turquoise
#c640d2 rgb(198, 64, 210) hsl(295, 62%, 54%) Medium Orchid