#d8bf0a ≈ Citrine
#d8bf0a is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 84.71% red, 74.9% green and 3.92% blue; printed in CMYK it uses 0% cyan, 11.57% magenta, 95.37% yellow and 15.29% black. Its hue angle is 52.72°, with 91.15% saturation and 44.31% 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 11.38:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.29.
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.5188 |
Shades
#d8bf0a mixed progressively with black.
Tints
#d8bf0a mixed progressively with white.
Tones
#d8bf0a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d8bf0a {
color: #d8bf0a;
}
.bg-d8bf0a {
background-color: #d8bf0a;
color: #000000;
}
.border-d8bf0a {
border: 2px solid #d8bf0a;
}
:root {
--color-primary: #d8bf0a;
--color-primary-rgb: 216 191 10;
--color-primary-hsl: 53 91% 44%;
}
.gradient-d8bf0a {
background: linear-gradient(135deg, #d8bf0a, #8ad80a);
}
.shadow-d8bf0a {
box-shadow: 0 8px 24px rgb(216 191 10 / 0.35);
}
Citrine
#d8bf0a rgb(216, 191, 10) hsl(53, 91%, 44%) Citrine
#0a23d8 rgb(10, 35, 216) hsl(233, 91%, 44%) Medium Blue
#0ad8bf rgb(10, 216, 191) hsl(173, 91%, 44%) Turquoise
#bf0ad8 rgb(191, 10, 216) hsl(293, 91%, 44%) Electric Purple