#d2cd5a ≈ Straw
#d2cd5a is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 82.35% red, 80.39% green and 35.29% blue; printed in CMYK it uses 0% cyan, 2.38% magenta, 57.14% yellow and 17.65% black. Its hue angle is 57.5°, with 57.14% saturation and 58.82% 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.62:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.7.
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.581 |
Shades
#d2cd5a mixed progressively with black.
Tints
#d2cd5a mixed progressively with white.
Tones
#d2cd5a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2cd5a {
color: #d2cd5a;
}
.bg-d2cd5a {
background-color: #d2cd5a;
color: #000000;
}
.border-d2cd5a {
border: 2px solid #d2cd5a;
}
:root {
--color-primary: #d2cd5a;
--color-primary-rgb: 210 205 90;
--color-primary-hsl: 58 57% 59%;
}
.gradient-d2cd5a {
background: linear-gradient(135deg, #d2cd5a, #9bd25a);
}
.shadow-d2cd5a {
box-shadow: 0 8px 24px rgb(210 205 90 / 0.35);
}
Straw
#d2cd5a rgb(210, 205, 90) hsl(58, 57%, 59%) Straw
#5a5fd2 rgb(90, 95, 210) hsl(238, 57%, 59%) Slate Blue
#5ad2cd rgb(90, 210, 205) hsl(178, 57%, 59%) Medium Turquoise
#cd5ad2 rgb(205, 90, 210) hsl(298, 57%, 59%) Medium Orchid