#d8ca5d ≈ Straw
#d8ca5d 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.22% green and 36.47% blue; printed in CMYK it uses 0% cyan, 6.48% magenta, 56.94% yellow and 15.29% black. Its hue angle is 53.17°, with 61.19% saturation and 60.59% 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.53:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.61.
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.5763 |
Shades
#d8ca5d mixed progressively with black.
Tints
#d8ca5d mixed progressively with white.
Tones
#d8ca5d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d8ca5d {
color: #d8ca5d;
}
.bg-d8ca5d {
background-color: #d8ca5d;
color: #000000;
}
.border-d8ca5d {
border: 2px solid #d8ca5d;
}
:root {
--color-primary: #d8ca5d;
--color-primary-rgb: 216 202 93;
--color-primary-hsl: 53 61% 61%;
}
.gradient-d8ca5d {
background: linear-gradient(135deg, #d8ca5d, #a9d85d);
}
.shadow-d8ca5d {
box-shadow: 0 8px 24px rgb(216 202 93 / 0.35);
}
Straw
#d8ca5d rgb(216, 202, 93) hsl(53, 61%, 61%) Straw
#5d6bd8 rgb(93, 107, 216) hsl(233, 61%, 61%) Royal Blue
#5dd8ca rgb(93, 216, 202) hsl(173, 61%, 61%) Turquoise
#ca5dd8 rgb(202, 93, 216) hsl(293, 61%, 61%) Medium Orchid