#d8cd6b ≈ Straw
#d8cd6b is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 84.71% red, 80.39% green and 41.96% blue; printed in CMYK it uses 0% cyan, 5.09% magenta, 50.46% yellow and 15.29% black. Its hue angle is 53.94°, with 58.29% saturation and 63.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 brand accents. Black text on this color reaches a contrast ratio of 12.86:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 2.97.
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.5932 |
Shades
#d8cd6b mixed progressively with black.
Tints
#d8cd6b mixed progressively with white.
Tones
#d8cd6b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d8cd6b {
color: #d8cd6b;
}
.bg-d8cd6b {
background-color: #d8cd6b;
color: #000000;
}
.border-d8cd6b {
border: 2px solid #d8cd6b;
}
:root {
--color-primary: #d8cd6b;
--color-primary-rgb: 216 205 107;
--color-primary-hsl: 54 58% 63%;
}
.gradient-d8cd6b {
background: linear-gradient(135deg, #d8cd6b, #add86b);
}
.shadow-d8cd6b {
box-shadow: 0 8px 24px rgb(216 205 107 / 0.35);
}
Straw
#d8cd6b rgb(216, 205, 107) hsl(54, 58%, 63%) Straw
#6b76d8 rgb(107, 118, 216) hsl(234, 58%, 63%) Medium Slate Blue
#6bd8cd rgb(107, 216, 205) hsl(174, 58%, 63%) Medium Turquoise
#cd6bd8 rgb(205, 107, 216) hsl(294, 58%, 63%) Orchid