#d8cb4a ≈ Straw
#d8cb4a is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 84.71% red, 79.61% green and 29.02% blue; printed in CMYK it uses 0% cyan, 6.02% magenta, 65.74% yellow and 15.29% black. Its hue angle is 54.51°, with 64.55% saturation and 56.86% 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.47.
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.5781 |
Shades
#d8cb4a mixed progressively with black.
Tints
#d8cb4a mixed progressively with white.
Tones
#d8cb4a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d8cb4a {
color: #d8cb4a;
}
.bg-d8cb4a {
background-color: #d8cb4a;
color: #000000;
}
.border-d8cb4a {
border: 2px solid #d8cb4a;
}
:root {
--color-primary: #d8cb4a;
--color-primary-rgb: 216 203 74;
--color-primary-hsl: 55 65% 57%;
}
.gradient-d8cb4a {
background: linear-gradient(135deg, #d8cb4a, #9ed84a);
}
.shadow-d8cb4a {
box-shadow: 0 8px 24px rgb(216 203 74 / 0.35);
}
Straw
#d8cb4a rgb(216, 203, 74) hsl(55, 65%, 57%) Straw
#4a57d8 rgb(74, 87, 216) hsl(235, 65%, 57%) Iris
#4ad8cb rgb(74, 216, 203) hsl(175, 65%, 57%) Turquoise
#cb4ad8 rgb(203, 74, 216) hsl(295, 65%, 57%) Medium Orchid