#d2cd0b ≈ Citrine
#d2cd0b is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 82.35% red, 80.39% green and 4.31% blue; printed in CMYK it uses 0% cyan, 2.38% magenta, 94.76% yellow and 17.65% black. Its hue angle is 58.49°, with 90.05% saturation and 43.33% 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.48:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.84.
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.5739 |
Shades
#d2cd0b mixed progressively with black.
Tints
#d2cd0b mixed progressively with white.
Tones
#d2cd0b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2cd0b {
color: #d2cd0b;
}
.bg-d2cd0b {
background-color: #d2cd0b;
color: #000000;
}
.border-d2cd0b {
border: 2px solid #d2cd0b;
}
:root {
--color-primary: #d2cd0b;
--color-primary-rgb: 210 205 11;
--color-primary-hsl: 58 90% 43%;
}
.gradient-d2cd0b {
background: linear-gradient(135deg, #d2cd0b, #73d20b);
}
.shadow-d2cd0b {
box-shadow: 0 8px 24px rgb(210 205 11 / 0.35);
}
Citrine
#d2cd0b rgb(210, 205, 11) hsl(58, 90%, 43%) Citrine
#0b10d2 rgb(11, 16, 210) hsl(238, 90%, 43%) Medium Blue
#0bd2cd rgb(11, 210, 205) hsl(178, 90%, 43%) Medium Turquoise
#cd0bd2 rgb(205, 11, 210) hsl(298, 90%, 43%) Electric Purple