#d8cb59 ≈ Straw
#d8cb59 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 84.71% red, 79.61% green and 34.9% blue; printed in CMYK it uses 0% cyan, 6.02% magenta, 58.8% yellow and 15.29% black. Its hue angle is 53.86°, with 61.95% saturation and 59.8% 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 12.61:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.55.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc66 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.5803 |
Shades
#d8cb59 mixed progressively with black.
Tints
#d8cb59 mixed progressively with white.
Tones
#d8cb59 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d8cb59 {
color: #d8cb59;
}
.bg-d8cb59 {
background-color: #d8cb59;
color: #000000;
}
.border-d8cb59 {
border: 2px solid #d8cb59;
}
:root {
--color-primary: #d8cb59;
--color-primary-rgb: 216 203 89;
--color-primary-hsl: 54 62% 60%;
}
.gradient-d8cb59 {
background: linear-gradient(135deg, #d8cb59, #a5d859);
}
.shadow-d8cb59 {
box-shadow: 0 8px 24px rgb(216 203 89 / 0.35);
}
Straw
#d8cb59 rgb(216, 203, 89) hsl(54, 62%, 60%) Straw
#5966d8 rgb(89, 102, 216) hsl(234, 62%, 60%) Royal Blue
#59d8cb rgb(89, 216, 203) hsl(174, 62%, 60%) Turquoise
#cb59d8 rgb(203, 89, 216) hsl(294, 62%, 60%) Medium Orchid