#dfd54a ≈ Straw
#dfd54a is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 87.45% red, 83.53% green and 29.02% blue; printed in CMYK it uses 0% cyan, 4.48% magenta, 66.82% yellow and 12.55% black. Its hue angle is 55.97°, with 69.95% 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 13.75:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.97.
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.6377 |
Shades
#dfd54a mixed progressively with black.
Tints
#dfd54a mixed progressively with white.
Tones
#dfd54a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfd54a {
color: #dfd54a;
}
.bg-dfd54a {
background-color: #dfd54a;
color: #000000;
}
.border-dfd54a {
border: 2px solid #dfd54a;
}
:root {
--color-primary: #dfd54a;
--color-primary-rgb: 223 213 74;
--color-primary-hsl: 56 70% 58%;
}
.gradient-dfd54a {
background: linear-gradient(135deg, #dfd54a, #9fdf4a);
}
.shadow-dfd54a {
box-shadow: 0 8px 24px rgb(223 213 74 / 0.35);
}
Straw
#dfd54a rgb(223, 213, 74) hsl(56, 70%, 58%) Straw
#4a54df rgb(74, 84, 223) hsl(236, 70%, 58%) Majorelle Blue
#4adfd5 rgb(74, 223, 213) hsl(176, 70%, 58%) Turquoise
#d54adf rgb(213, 74, 223) hsl(296, 70%, 58%) Medium Orchid