#d5cd7a ≈ Straw
#d5cd7a is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 83.53% red, 80.39% green and 47.84% blue; printed in CMYK it uses 0% cyan, 3.76% magenta, 42.72% yellow and 16.47% black. Its hue angle is 54.73°, with 52% saturation and 65.69% 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.84:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.46.
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.5921 |
Shades
#d5cd7a mixed progressively with black.
Tints
#d5cd7a mixed progressively with white.
Tones
#d5cd7a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d5cd7a {
color: #d5cd7a;
}
.bg-d5cd7a {
background-color: #d5cd7a;
color: #000000;
}
.border-d5cd7a {
border: 2px solid #d5cd7a;
}
:root {
--color-primary: #d5cd7a;
--color-primary-rgb: 213 205 122;
--color-primary-hsl: 55 52% 66%;
}
.gradient-d5cd7a {
background: linear-gradient(135deg, #d5cd7a, #b0d57a);
}
.shadow-d5cd7a {
box-shadow: 0 8px 24px rgb(213 205 122 / 0.35);
}
Straw
#d5cd7a rgb(213, 205, 122) hsl(55, 52%, 66%) Straw
#7a82d5 rgb(122, 130, 213) hsl(235, 52%, 66%) Glaucous
#7ad5cd rgb(122, 213, 205) hsl(175, 52%, 66%) Medium Turquoise
#cd7ad5 rgb(205, 122, 213) hsl(295, 52%, 66%) Orchid