#d2c128 ≈ Citrine
#d2c128 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 82.35% red, 75.69% green and 15.69% blue; printed in CMYK it uses 0% cyan, 8.1% magenta, 80.95% yellow and 17.65% black. Its hue angle is 54°, with 68% saturation and 49.02% 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.4:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.44.
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.5199 |
Shades
#d2c128 mixed progressively with black.
Tints
#d2c128 mixed progressively with white.
Tones
#d2c128 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2c128 {
color: #d2c128;
}
.bg-d2c128 {
background-color: #d2c128;
color: #000000;
}
.border-d2c128 {
border: 2px solid #d2c128;
}
:root {
--color-primary: #d2c128;
--color-primary-rgb: 210 193 40;
--color-primary-hsl: 54 68% 49%;
}
.gradient-d2c128 {
background: linear-gradient(135deg, #d2c128, #8ed228);
}
.shadow-d2c128 {
box-shadow: 0 8px 24px rgb(210 193 40 / 0.35);
}
Citrine
#d2c128 rgb(210, 193, 40) hsl(54, 68%, 49%) Citrine
#2839d2 rgb(40, 57, 210) hsl(234, 68%, 49%) Persian Blue
#28d2c1 rgb(40, 210, 193) hsl(174, 68%, 49%) Turquoise
#c128d2 rgb(193, 40, 210) hsl(294, 68%, 49%) Electric Purple