#dfd271 ≈ Straw
#dfd271 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 87.45% red, 82.35% green and 44.31% blue; printed in CMYK it uses 0% cyan, 5.83% magenta, 49.33% yellow and 12.55% black. Its hue angle is 52.91°, with 63.22% saturation and 65.88% 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.59:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 1.99.
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.6297 |
Shades
#dfd271 mixed progressively with black.
Tints
#dfd271 mixed progressively with white.
Tones
#dfd271 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfd271 {
color: #dfd271;
}
.bg-dfd271 {
background-color: #dfd271;
color: #000000;
}
.border-dfd271 {
border: 2px solid #dfd271;
}
:root {
--color-primary: #dfd271;
--color-primary-rgb: 223 210 113;
--color-primary-hsl: 53 63% 66%;
}
.gradient-dfd271 {
background: linear-gradient(135deg, #dfd271, #b5df71);
}
.shadow-dfd271 {
box-shadow: 0 8px 24px rgb(223 210 113 / 0.35);
}
Straw
#dfd271 rgb(223, 210, 113) hsl(53, 63%, 66%) Straw
#717edf rgb(113, 126, 223) hsl(233, 63%, 66%) Glaucous
#71dfd2 rgb(113, 223, 210) hsl(173, 63%, 66%) Turquoise
#d271df rgb(210, 113, 223) hsl(293, 63%, 66%) Orchid