#dfa42e ≈ Goldenrod
#dfa42e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 87.45% red, 64.31% green and 18.04% blue; printed in CMYK it uses 0% cyan, 26.46% magenta, 79.37% yellow and 12.55% black. Its hue angle is 40°, with 73.44% saturation and 52.75% 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 9.49:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 2.44.
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.4244 |
Shades
#dfa42e mixed progressively with black.
Tints
#dfa42e mixed progressively with white.
Tones
#dfa42e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfa42e {
color: #dfa42e;
}
.bg-dfa42e {
background-color: #dfa42e;
color: #000000;
}
.border-dfa42e {
border: 2px solid #dfa42e;
}
:root {
--color-primary: #dfa42e;
--color-primary-rgb: 223 164 46;
--color-primary-hsl: 40 73% 53%;
}
.gradient-dfa42e {
background: linear-gradient(135deg, #dfa42e, #c2df2e);
}
.shadow-dfa42e {
box-shadow: 0 8px 24px rgb(223 164 46 / 0.35);
}
Goldenrod
#dfa42e rgb(223, 164, 46) hsl(40, 73%, 53%) Goldenrod
#2e69df rgb(46, 105, 223) hsl(220, 73%, 53%) Royal Blue
#2edfa4 rgb(46, 223, 164) hsl(160, 73%, 53%) Caribbean Green
#a42edf rgb(164, 46, 223) hsl(280, 73%, 53%) Dark Orchid