#d5cd52 ≈ Straw
#d5cd52 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.39% green and 32.16% blue; printed in CMYK it uses 0% cyan, 3.76% magenta, 61.5% yellow and 16.47% black. Its hue angle is 56.34°, with 60.93% saturation and 57.84% 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.68:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.82.
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.5842 |
Shades
#d5cd52 mixed progressively with black.
Tints
#d5cd52 mixed progressively with white.
Tones
#d5cd52 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d5cd52 {
color: #d5cd52;
}
.bg-d5cd52 {
background-color: #d5cd52;
color: #000000;
}
.border-d5cd52 {
border: 2px solid #d5cd52;
}
:root {
--color-primary: #d5cd52;
--color-primary-rgb: 213 205 82;
--color-primary-hsl: 56 61% 58%;
}
.gradient-d5cd52 {
background: linear-gradient(135deg, #d5cd52, #9bd552);
}
.shadow-d5cd52 {
box-shadow: 0 8px 24px rgb(213 205 82 / 0.35);
}
Straw
#d5cd52 rgb(213, 205, 82) hsl(56, 61%, 58%) Straw
#525ad5 rgb(82, 90, 213) hsl(236, 61%, 58%) Iris
#52d5cd rgb(82, 213, 205) hsl(176, 61%, 58%) Medium Turquoise
#cd52d5 rgb(205, 82, 213) hsl(296, 61%, 58%) Medium Orchid