#dacc4f ≈ Straw
#dacc4f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 85.49% red, 80% green and 30.98% blue; printed in CMYK it uses 0% cyan, 6.42% magenta, 63.76% yellow and 14.51% black. Its hue angle is 53.96°, with 65.26% saturation and 58.24% 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.73:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.01.
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.5866 |
Shades
#dacc4f mixed progressively with black.
Tints
#dacc4f mixed progressively with white.
Tones
#dacc4f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dacc4f {
color: #dacc4f;
}
.bg-dacc4f {
background-color: #dacc4f;
color: #000000;
}
.border-dacc4f {
border: 2px solid #dacc4f;
}
:root {
--color-primary: #dacc4f;
--color-primary-rgb: 218 204 79;
--color-primary-hsl: 54 65% 58%;
}
.gradient-dacc4f {
background: linear-gradient(135deg, #dacc4f, #a3da4f);
}
.shadow-dacc4f {
box-shadow: 0 8px 24px rgb(218 204 79 / 0.35);
}
Straw
#dacc4f rgb(218, 204, 79) hsl(54, 65%, 58%) Straw
#4f5dda rgb(79, 93, 218) hsl(234, 65%, 58%) Ultramarine Blue
#4fdacc rgb(79, 218, 204) hsl(174, 65%, 58%) Turquoise
#cc4fda rgb(204, 79, 218) hsl(294, 65%, 58%) Medium Orchid