#d5cc47 ≈ Straw
#d5cc47 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 83.53% red, 80% green and 27.84% blue; printed in CMYK it uses 0% cyan, 4.23% magenta, 66.67% yellow and 16.47% black. Its hue angle is 56.2°, with 62.83% saturation and 55.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.56:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.64.
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.5779 |
Shades
#d5cc47 mixed progressively with black.
Tints
#d5cc47 mixed progressively with white.
Tones
#d5cc47 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d5cc47 {
color: #d5cc47;
}
.bg-d5cc47 {
background-color: #d5cc47;
color: #000000;
}
.border-d5cc47 {
border: 2px solid #d5cc47;
}
:root {
--color-primary: #d5cc47;
--color-primary-rgb: 213 204 71;
--color-primary-hsl: 56 63% 56%;
}
.gradient-d5cc47 {
background: linear-gradient(135deg, #d5cc47, #97d547);
}
.shadow-d5cc47 {
box-shadow: 0 8px 24px rgb(213 204 71 / 0.35);
}
Straw
#d5cc47 rgb(213, 204, 71) hsl(56, 63%, 56%) Straw
#4750d5 rgb(71, 80, 213) hsl(236, 63%, 56%) Iris
#47d5cc rgb(71, 213, 204) hsl(176, 63%, 56%) Medium Turquoise
#cc47d5 rgb(204, 71, 213) hsl(296, 63%, 56%) Medium Orchid