#dfac2a ≈ Goldenrod
#dfac2a is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 87.45% red, 67.45% green and 16.47% blue; printed in CMYK it uses 0% cyan, 22.87% magenta, 81.17% yellow and 12.55% black. Its hue angle is 43.09°, with 73.88% saturation and 51.96% 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 10.07:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 1.91.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc9933 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.4536 |
Shades
#dfac2a mixed progressively with black.
Tints
#dfac2a mixed progressively with white.
Tones
#dfac2a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfac2a {
color: #dfac2a;
}
.bg-dfac2a {
background-color: #dfac2a;
color: #000000;
}
.border-dfac2a {
border: 2px solid #dfac2a;
}
:root {
--color-primary: #dfac2a;
--color-primary-rgb: 223 172 42;
--color-primary-hsl: 43 74% 52%;
}
.gradient-dfac2a {
background: linear-gradient(135deg, #dfac2a, #b8df2a);
}
.shadow-dfac2a {
box-shadow: 0 8px 24px rgb(223 172 42 / 0.35);
}
Goldenrod
#dfac2a rgb(223, 172, 42) hsl(43, 74%, 52%) Goldenrod
#2a5ddf rgb(42, 93, 223) hsl(223, 74%, 52%) Royal Blue
#2adfac rgb(42, 223, 172) hsl(163, 74%, 52%) Caribbean Green
#ac2adf rgb(172, 42, 223) hsl(283, 74%, 52%) Dark Orchid