#d2cb0f ≈ Citrine
#d2cb0f is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 82.35% red, 79.61% green and 5.88% blue; printed in CMYK it uses 0% cyan, 3.33% magenta, 92.86% yellow and 17.65% black. Its hue angle is 57.85°, with 86.67% saturation and 44.12% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 12.29:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.63.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc00 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.5645 |
Shades
#d2cb0f mixed progressively with black.
Tints
#d2cb0f mixed progressively with white.
Tones
#d2cb0f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2cb0f {
color: #d2cb0f;
}
.bg-d2cb0f {
background-color: #d2cb0f;
color: #000000;
}
.border-d2cb0f {
border: 2px solid #d2cb0f;
}
:root {
--color-primary: #d2cb0f;
--color-primary-rgb: 210 203 15;
--color-primary-hsl: 58 87% 44%;
}
.gradient-d2cb0f {
background: linear-gradient(135deg, #d2cb0f, #77d20f);
}
.shadow-d2cb0f {
box-shadow: 0 8px 24px rgb(210 203 15 / 0.35);
}
Citrine
#d2cb0f rgb(210, 203, 15) hsl(58, 87%, 44%) Citrine
#0f16d2 rgb(15, 22, 210) hsl(238, 87%, 44%) Medium Blue
#0fd2cb rgb(15, 210, 203) hsl(178, 87%, 44%) Medium Turquoise
#cb0fd2 rgb(203, 15, 210) hsl(298, 87%, 44%) Electric Purple