#d9d87f ≈ Straw
#d9d87f is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 85.1% red, 84.71% green and 49.8% blue; printed in CMYK it uses 0% cyan, 0.46% magenta, 41.47% yellow and 14.9% black. Its hue angle is 59.33°, with 54.22% saturation and 67.45% 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 14.08:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.84.
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.654 |
Shades
#d9d87f mixed progressively with black.
Tints
#d9d87f mixed progressively with white.
Tones
#d9d87f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d9d87f {
color: #d9d87f;
}
.bg-d9d87f {
background-color: #d9d87f;
color: #000000;
}
.border-d9d87f {
border: 2px solid #d9d87f;
}
:root {
--color-primary: #d9d87f;
--color-primary-rgb: 217 216 127;
--color-primary-hsl: 59 54% 67%;
}
.gradient-d9d87f {
background: linear-gradient(135deg, #d9d87f, #add97f);
}
.shadow-d9d87f {
box-shadow: 0 8px 24px rgb(217 216 127 / 0.35);
}
Straw
#d9d87f rgb(217, 216, 127) hsl(59, 54%, 67%) Straw
#7f80d9 rgb(127, 128, 217) hsl(239, 54%, 67%) Medium Purple
#7fd9d8 rgb(127, 217, 216) hsl(179, 54%, 67%) Medium Turquoise
#d87fd9 rgb(216, 127, 217) hsl(299, 54%, 67%) Orchid