#d5cb7b ≈ Straw
#d5cb7b is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 83.53% red, 79.61% green and 48.24% blue; printed in CMYK it uses 0% cyan, 4.69% magenta, 42.25% yellow and 16.47% black. Its hue angle is 53.33°, with 51.72% saturation and 65.88% 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.66:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.98.
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.5829 |
Shades
#d5cb7b mixed progressively with black.
Tints
#d5cb7b mixed progressively with white.
Tones
#d5cb7b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d5cb7b {
color: #d5cb7b;
}
.bg-d5cb7b {
background-color: #d5cb7b;
color: #000000;
}
.border-d5cb7b {
border: 2px solid #d5cb7b;
}
:root {
--color-primary: #d5cb7b;
--color-primary-rgb: 213 203 123;
--color-primary-hsl: 53 52% 66%;
}
.gradient-d5cb7b {
background: linear-gradient(135deg, #d5cb7b, #b2d57b);
}
.shadow-d5cb7b {
box-shadow: 0 8px 24px rgb(213 203 123 / 0.35);
}
Straw
#d5cb7b rgb(213, 203, 123) hsl(53, 52%, 66%) Straw
#7b85d5 rgb(123, 133, 213) hsl(233, 52%, 66%) Glaucous
#7bd5cb rgb(123, 213, 203) hsl(173, 52%, 66%) Medium Turquoise
#cb7bd5 rgb(203, 123, 213) hsl(293, 52%, 66%) Orchid