#dfd45f ≈ Straw
#dfd45f is a color from the yellow family, with high lightness and strong saturation. In the RGB model it is made of 87.45% red, 83.14% green and 37.25% blue; printed in CMYK it uses 0% cyan, 4.93% magenta, 57.4% yellow and 12.55% black. Its hue angle is 54.84°, with 66.67% saturation and 62.35% 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.72:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 1.91.
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.636 |
Shades
#dfd45f mixed progressively with black.
Tints
#dfd45f mixed progressively with white.
Tones
#dfd45f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfd45f {
color: #dfd45f;
}
.bg-dfd45f {
background-color: #dfd45f;
color: #000000;
}
.border-dfd45f {
border: 2px solid #dfd45f;
}
:root {
--color-primary: #dfd45f;
--color-primary-rgb: 223 212 95;
--color-primary-hsl: 55 67% 62%;
}
.gradient-dfd45f {
background: linear-gradient(135deg, #dfd45f, #aadf5f);
}
.shadow-dfd45f {
box-shadow: 0 8px 24px rgb(223 212 95 / 0.35);
}
Straw
#dfd45f rgb(223, 212, 95) hsl(55, 67%, 62%) Straw
#5f6adf rgb(95, 106, 223) hsl(235, 67%, 62%) Ultramarine Blue
#5fdfd4 rgb(95, 223, 212) hsl(175, 67%, 62%) Turquoise
#d45fdf rgb(212, 95, 223) hsl(295, 67%, 62%) Orchid