#d8cd5c ≈ Straw
#d8cd5c is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 84.71% red, 80.39% green and 36.08% blue; printed in CMYK it uses 0% cyan, 5.09% magenta, 57.41% yellow and 15.29% black. Its hue angle is 54.68°, with 61.39% saturation and 60.39% 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.81:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.06.
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.5903 |
Shades
#d8cd5c mixed progressively with black.
Tints
#d8cd5c mixed progressively with white.
Tones
#d8cd5c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d8cd5c {
color: #d8cd5c;
}
.bg-d8cd5c {
background-color: #d8cd5c;
color: #000000;
}
.border-d8cd5c {
border: 2px solid #d8cd5c;
}
:root {
--color-primary: #d8cd5c;
--color-primary-rgb: 216 205 92;
--color-primary-hsl: 55 61% 60%;
}
.gradient-d8cd5c {
background: linear-gradient(135deg, #d8cd5c, #a5d85c);
}
.shadow-d8cd5c {
box-shadow: 0 8px 24px rgb(216 205 92 / 0.35);
}
Straw
#d8cd5c rgb(216, 205, 92) hsl(55, 61%, 60%) Straw
#5c67d8 rgb(92, 103, 216) hsl(235, 61%, 60%) Royal Blue
#5cd8cd rgb(92, 216, 205) hsl(175, 61%, 60%) Medium Turquoise
#cd5cd8 rgb(205, 92, 216) hsl(295, 61%, 60%) Medium Orchid