#d5cd0b ≈ Citrine
#d5cd0b is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 83.53% red, 80.39% green and 4.31% blue; printed in CMYK it uses 0% cyan, 3.76% magenta, 94.84% yellow and 16.47% black. Its hue angle is 57.62°, with 90.18% saturation and 43.92% 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.57:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.14.
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.5783 |
Shades
#d5cd0b mixed progressively with black.
Tints
#d5cd0b mixed progressively with white.
Tones
#d5cd0b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d5cd0b {
color: #d5cd0b;
}
.bg-d5cd0b {
background-color: #d5cd0b;
color: #000000;
}
.border-d5cd0b {
border: 2px solid #d5cd0b;
}
:root {
--color-primary: #d5cd0b;
--color-primary-rgb: 213 205 11;
--color-primary-hsl: 58 90% 44%;
}
.gradient-d5cd0b {
background: linear-gradient(135deg, #d5cd0b, #78d50b);
}
.shadow-d5cd0b {
box-shadow: 0 8px 24px rgb(213 205 11 / 0.35);
}
Citrine
#d5cd0b rgb(213, 205, 11) hsl(58, 90%, 44%) Citrine
#0b13d5 rgb(11, 19, 213) hsl(238, 90%, 44%) Medium Blue
#0bd5cd rgb(11, 213, 205) hsl(178, 90%, 44%) Medium Turquoise
#cd0bd5 rgb(205, 11, 213) hsl(298, 90%, 44%) Electric Purple