#dfd96f ≈ Straw
#dfd96f is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 87.45% red, 85.1% green and 43.53% blue; printed in CMYK it uses 0% cyan, 2.69% magenta, 50.22% yellow and 12.55% black. Its hue angle is 56.79°, with 63.64% saturation and 65.49% 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 14.29:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 1.33.
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.6646 |
Shades
#dfd96f mixed progressively with black.
Tints
#dfd96f mixed progressively with white.
Tones
#dfd96f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfd96f {
color: #dfd96f;
}
.bg-dfd96f {
background-color: #dfd96f;
color: #000000;
}
.border-dfd96f {
border: 2px solid #dfd96f;
}
:root {
--color-primary: #dfd96f;
--color-primary-rgb: 223 217 111;
--color-primary-hsl: 57 64% 65%;
}
.gradient-dfd96f {
background: linear-gradient(135deg, #dfd96f, #addf6f);
}
.shadow-dfd96f {
box-shadow: 0 8px 24px rgb(223 217 111 / 0.35);
}
Straw
#dfd96f rgb(223, 217, 111) hsl(57, 64%, 65%) Straw
#6f75df rgb(111, 117, 223) hsl(237, 64%, 65%) Medium Slate Blue
#6fdfd9 rgb(111, 223, 217) hsl(177, 64%, 65%) Medium Turquoise
#d96fdf rgb(217, 111, 223) hsl(297, 64%, 65%) Orchid