#d2cb5d ≈ Straw
#d2cb5d is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 82.35% red, 79.61% green and 36.47% blue; printed in CMYK it uses 0% cyan, 3.33% magenta, 55.71% yellow and 17.65% black. Its hue angle is 56.41°, with 56.52% saturation and 59.41% 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.44:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.73.
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.572 |
Shades
#d2cb5d mixed progressively with black.
Tints
#d2cb5d mixed progressively with white.
Tones
#d2cb5d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2cb5d {
color: #d2cb5d;
}
.bg-d2cb5d {
background-color: #d2cb5d;
color: #000000;
}
.border-d2cb5d {
border: 2px solid #d2cb5d;
}
:root {
--color-primary: #d2cb5d;
--color-primary-rgb: 210 203 93;
--color-primary-hsl: 56 57% 59%;
}
.gradient-d2cb5d {
background: linear-gradient(135deg, #d2cb5d, #9ed25d);
}
.shadow-d2cb5d {
box-shadow: 0 8px 24px rgb(210 203 93 / 0.35);
}
Straw
#d2cb5d rgb(210, 203, 93) hsl(56, 57%, 59%) Straw
#5d64d2 rgb(93, 100, 210) hsl(236, 57%, 59%) Slate Blue
#5dd2cb rgb(93, 210, 203) hsl(176, 57%, 59%) Medium Turquoise
#cb5dd2 rgb(203, 93, 210) hsl(296, 57%, 59%) Medium Orchid