#d8d45f ≈ Straw
#d8d45f is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 84.71% red, 83.14% green and 37.25% blue; printed in CMYK it uses 0% cyan, 1.85% magenta, 56.02% yellow and 15.29% black. Its hue angle is 58.02°, with 60.8% saturation and 60.98% 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 13.5:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 2.69.
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.6251 |
Shades
#d8d45f mixed progressively with black.
Tints
#d8d45f mixed progressively with white.
Tones
#d8d45f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d8d45f {
color: #d8d45f;
}
.bg-d8d45f {
background-color: #d8d45f;
color: #000000;
}
.border-d8d45f {
border: 2px solid #d8d45f;
}
:root {
--color-primary: #d8d45f;
--color-primary-rgb: 216 212 95;
--color-primary-hsl: 58 61% 61%;
}
.gradient-d8d45f {
background: linear-gradient(135deg, #d8d45f, #9fd85f);
}
.shadow-d8d45f {
box-shadow: 0 8px 24px rgb(216 212 95 / 0.35);
}
Straw
#d8d45f rgb(216, 212, 95) hsl(58, 61%, 61%) Straw
#5f63d8 rgb(95, 99, 216) hsl(238, 61%, 61%) Slate Blue
#5fd8d4 rgb(95, 216, 212) hsl(178, 61%, 61%) Medium Turquoise
#d45fd8 rgb(212, 95, 216) hsl(298, 61%, 61%) Orchid