#d8cd4c ≈ Straw
#d8cd4c is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 84.71% red, 80.39% green and 29.8% blue; printed in CMYK it uses 0% cyan, 5.09% magenta, 64.81% yellow and 15.29% black. Its hue angle is 55.29°, with 64.22% saturation and 57.25% 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.76:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.11.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.5878 |
Shades
#d8cd4c mixed progressively with black.
Tints
#d8cd4c mixed progressively with white.
Tones
#d8cd4c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d8cd4c {
color: #d8cd4c;
}
.bg-d8cd4c {
background-color: #d8cd4c;
color: #000000;
}
.border-d8cd4c {
border: 2px solid #d8cd4c;
}
:root {
--color-primary: #d8cd4c;
--color-primary-rgb: 216 205 76;
--color-primary-hsl: 55 64% 57%;
}
.gradient-d8cd4c {
background: linear-gradient(135deg, #d8cd4c, #9dd84c);
}
.shadow-d8cd4c {
box-shadow: 0 8px 24px rgb(216 205 76 / 0.35);
}
Straw
#d8cd4c rgb(216, 205, 76) hsl(55, 64%, 57%) Straw
#4c57d8 rgb(76, 87, 216) hsl(235, 64%, 57%) Iris
#4cd8cd rgb(76, 216, 205) hsl(175, 64%, 57%) Turquoise
#cd4cd8 rgb(205, 76, 216) hsl(295, 64%, 57%) Medium Orchid