#d2cb20 ≈ Citrine
#d2cb20 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 12.55% blue; printed in CMYK it uses 0% cyan, 3.33% magenta, 84.76% yellow and 17.65% black. Its hue angle is 57.64°, with 73.55% saturation and 47.45% 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.3:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.83.
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.5652 |
Shades
#d2cb20 mixed progressively with black.
Tints
#d2cb20 mixed progressively with white.
Tones
#d2cb20 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2cb20 {
color: #d2cb20;
}
.bg-d2cb20 {
background-color: #d2cb20;
color: #000000;
}
.border-d2cb20 {
border: 2px solid #d2cb20;
}
:root {
--color-primary: #d2cb20;
--color-primary-rgb: 210 203 32;
--color-primary-hsl: 58 74% 47%;
}
.gradient-d2cb20 {
background: linear-gradient(135deg, #d2cb20, #80d220);
}
.shadow-d2cb20 {
box-shadow: 0 8px 24px rgb(210 203 32 / 0.35);
}
Citrine
#d2cb20 rgb(210, 203, 32) hsl(58, 74%, 47%) Citrine
#2027d2 rgb(32, 39, 210) hsl(238, 74%, 47%) Medium Blue
#20d2cb rgb(32, 210, 203) hsl(178, 74%, 47%) Medium Turquoise
#cb20d2 rgb(203, 32, 210) hsl(298, 74%, 47%) Medium Orchid