#dfdb7f ≈ Straw
#dfdb7f 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.88% green and 49.8% blue; printed in CMYK it uses 0% cyan, 1.79% magenta, 43.05% yellow and 12.55% black. Its hue angle is 57.5°, with 60% saturation and 68.63% 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.58:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 2.89.
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.6788 |
Shades
#dfdb7f mixed progressively with black.
Tints
#dfdb7f mixed progressively with white.
Tones
#dfdb7f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfdb7f {
color: #dfdb7f;
}
.bg-dfdb7f {
background-color: #dfdb7f;
color: #000000;
}
.border-dfdb7f {
border: 2px solid #dfdb7f;
}
:root {
--color-primary: #dfdb7f;
--color-primary-rgb: 223 219 127;
--color-primary-hsl: 58 60% 69%;
}
.gradient-dfdb7f {
background: linear-gradient(135deg, #dfdb7f, #b3df7f);
}
.shadow-dfdb7f {
box-shadow: 0 8px 24px rgb(223 219 127 / 0.35);
}
Straw
#dfdb7f rgb(223, 219, 127) hsl(58, 60%, 69%) Straw
#7f83df rgb(127, 131, 223) hsl(238, 60%, 69%) Medium Purple
#7fdfdb rgb(127, 223, 219) hsl(178, 60%, 69%) Medium Turquoise
#db7fdf rgb(219, 127, 223) hsl(298, 60%, 69%) Orchid