#d2cb38 ≈ Citrine
#d2cb38 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 82.35% red, 79.61% green and 21.96% blue; printed in CMYK it uses 0% cyan, 3.33% magenta, 73.33% yellow and 17.65% black. Its hue angle is 57.27°, with 63.11% saturation and 52.16% 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.34:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.64.
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.567 |
Shades
#d2cb38 mixed progressively with black.
Tints
#d2cb38 mixed progressively with white.
Tones
#d2cb38 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2cb38 {
color: #d2cb38;
}
.bg-d2cb38 {
background-color: #d2cb38;
color: #000000;
}
.border-d2cb38 {
border: 2px solid #d2cb38;
}
:root {
--color-primary: #d2cb38;
--color-primary-rgb: 210 203 56;
--color-primary-hsl: 57 63% 52%;
}
.gradient-d2cb38 {
background: linear-gradient(135deg, #d2cb38, #8cd238);
}
.shadow-d2cb38 {
box-shadow: 0 8px 24px rgb(210 203 56 / 0.35);
}
Citrine
#d2cb38 rgb(210, 203, 56) hsl(57, 63%, 52%) Citrine
#383fd2 rgb(56, 63, 210) hsl(237, 63%, 52%) Persian Blue
#38d2cb rgb(56, 210, 203) hsl(177, 63%, 52%) Medium Turquoise
#cb38d2 rgb(203, 56, 210) hsl(297, 63%, 52%) Medium Orchid