#dfd952 ≈ Straw
#dfd952 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 87.45% red, 85.1% green and 32.16% blue; printed in CMYK it uses 0% cyan, 2.69% magenta, 63.23% yellow and 12.55% black. Its hue angle is 57.45°, with 68.78% saturation and 59.8% 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.18:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.55.
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.6592 |
Shades
#dfd952 mixed progressively with black.
Tints
#dfd952 mixed progressively with white.
Tones
#dfd952 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfd952 {
color: #dfd952;
}
.bg-dfd952 {
background-color: #dfd952;
color: #000000;
}
.border-dfd952 {
border: 2px solid #dfd952;
}
:root {
--color-primary: #dfd952;
--color-primary-rgb: 223 217 82;
--color-primary-hsl: 57 69% 60%;
}
.gradient-dfd952 {
background: linear-gradient(135deg, #dfd952, #9edf52);
}
.shadow-dfd952 {
box-shadow: 0 8px 24px rgb(223 217 82 / 0.35);
}
Straw
#dfd952 rgb(223, 217, 82) hsl(57, 69%, 60%) Straw
#5258df rgb(82, 88, 223) hsl(237, 69%, 60%) Majorelle Blue
#52dfd9 rgb(82, 223, 217) hsl(177, 69%, 60%) Bright Turquoise
#d952df rgb(217, 82, 223) hsl(297, 69%, 60%) Medium Orchid