#d0c021 ≈ Citrine
#d0c021 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 81.57% red, 75.29% green and 12.94% blue; printed in CMYK it uses 0% cyan, 7.69% magenta, 84.13% yellow and 18.43% black. Its hue angle is 54.51°, with 72.61% saturation and 47.25% 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.24:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.6.
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.5122 |
Shades
#d0c021 mixed progressively with black.
Tints
#d0c021 mixed progressively with white.
Tones
#d0c021 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d0c021 {
color: #d0c021;
}
.bg-d0c021 {
background-color: #d0c021;
color: #000000;
}
.border-d0c021 {
border: 2px solid #d0c021;
}
:root {
--color-primary: #d0c021;
--color-primary-rgb: 208 192 33;
--color-primary-hsl: 55 73% 47%;
}
.gradient-d0c021 {
background: linear-gradient(135deg, #d0c021, #88d021);
}
.shadow-d0c021 {
box-shadow: 0 8px 24px rgb(208 192 33 / 0.35);
}
Citrine
#d0c021 rgb(208, 192, 33) hsl(55, 73%, 47%) Citrine
#2131d0 rgb(33, 49, 208) hsl(235, 73%, 47%) Persian Blue
#21d0c0 rgb(33, 208, 192) hsl(175, 73%, 47%) Turquoise
#c021d0 rgb(192, 33, 208) hsl(295, 73%, 47%) Electric Purple