#dfd272 ≈ Straw
#dfd272 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.71% blue; printed in CMYK it uses 0% cyan, 5.83% magenta, 48.88% yellow and 12.55% black. Its hue angle is 52.84°, with 63.01% saturation and 66.08% 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.6:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 2.07.
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.63 |
Shades
#dfd272 mixed progressively with black.
Tints
#dfd272 mixed progressively with white.
Tones
#dfd272 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfd272 {
color: #dfd272;
}
.bg-dfd272 {
background-color: #dfd272;
color: #000000;
}
.border-dfd272 {
border: 2px solid #dfd272;
}
:root {
--color-primary: #dfd272;
--color-primary-rgb: 223 210 114;
--color-primary-hsl: 53 63% 66%;
}
.gradient-dfd272 {
background: linear-gradient(135deg, #dfd272, #b6df72);
}
.shadow-dfd272 {
box-shadow: 0 8px 24px rgb(223 210 114 / 0.35);
}
Straw
#dfd272 rgb(223, 210, 114) hsl(53, 63%, 66%) Straw
#727fdf rgb(114, 127, 223) hsl(233, 63%, 66%) Glaucous
#72dfd2 rgb(114, 223, 210) hsl(173, 63%, 66%) Turquoise
#d272df rgb(210, 114, 223) hsl(293, 63%, 66%) Orchid