#d5cd5b ≈ Straw
#d5cd5b is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 83.53% red, 80.39% green and 35.69% blue; printed in CMYK it uses 0% cyan, 3.76% magenta, 57.28% yellow and 16.47% black. Its hue angle is 56.07°, with 59.22% saturation and 59.61% 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.71:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.3.
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.5856 |
Shades
#d5cd5b mixed progressively with black.
Tints
#d5cd5b mixed progressively with white.
Tones
#d5cd5b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d5cd5b {
color: #d5cd5b;
}
.bg-d5cd5b {
background-color: #d5cd5b;
color: #000000;
}
.border-d5cd5b {
border: 2px solid #d5cd5b;
}
:root {
--color-primary: #d5cd5b;
--color-primary-rgb: 213 205 91;
--color-primary-hsl: 56 59% 60%;
}
.gradient-d5cd5b {
background: linear-gradient(135deg, #d5cd5b, #a0d55b);
}
.shadow-d5cd5b {
box-shadow: 0 8px 24px rgb(213 205 91 / 0.35);
}
Straw
#d5cd5b rgb(213, 205, 91) hsl(56, 59%, 60%) Straw
#5b63d5 rgb(91, 99, 213) hsl(236, 59%, 60%) Slate Blue
#5bd5cd rgb(91, 213, 205) hsl(176, 59%, 60%) Medium Turquoise
#cd5bd5 rgb(205, 91, 213) hsl(296, 59%, 60%) Medium Orchid