#d8cb5e ≈ Straw
#d8cb5e 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 36.86% blue; printed in CMYK it uses 0% cyan, 6.02% magenta, 56.48% yellow and 15.29% black. Its hue angle is 53.61°, with 61% saturation and 60.78% 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.62:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.36.
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.5812 |
Shades
#d8cb5e mixed progressively with black.
Tints
#d8cb5e mixed progressively with white.
Tones
#d8cb5e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d8cb5e {
color: #d8cb5e;
}
.bg-d8cb5e {
background-color: #d8cb5e;
color: #000000;
}
.border-d8cb5e {
border: 2px solid #d8cb5e;
}
:root {
--color-primary: #d8cb5e;
--color-primary-rgb: 216 203 94;
--color-primary-hsl: 54 61% 61%;
}
.gradient-d8cb5e {
background: linear-gradient(135deg, #d8cb5e, #a8d85e);
}
.shadow-d8cb5e {
box-shadow: 0 8px 24px rgb(216 203 94 / 0.35);
}
Straw
#d8cb5e rgb(216, 203, 94) hsl(54, 61%, 61%) Straw
#5e6bd8 rgb(94, 107, 216) hsl(234, 61%, 61%) Royal Blue
#5ed8cb rgb(94, 216, 203) hsl(174, 61%, 61%) Turquoise
#cb5ed8 rgb(203, 94, 216) hsl(294, 61%, 61%) Medium Orchid