#dfa40c ≈ Goldenrod
#dfa40c is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 87.45% red, 64.31% green and 4.71% blue; printed in CMYK it uses 0% cyan, 26.46% magenta, 94.62% yellow and 12.55% black. Its hue angle is 43.22°, with 89.79% saturation and 46.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 call-to-action buttons. Black text on this color reaches a contrast ratio of 9.45:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 1.55.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc9900 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.4227 |
Shades
#dfa40c mixed progressively with black.
Tints
#dfa40c mixed progressively with white.
Tones
#dfa40c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfa40c {
color: #dfa40c;
}
.bg-dfa40c {
background-color: #dfa40c;
color: #000000;
}
.border-dfa40c {
border: 2px solid #dfa40c;
}
:root {
--color-primary: #dfa40c;
--color-primary-rgb: 223 164 12;
--color-primary-hsl: 43 90% 46%;
}
.gradient-dfa40c {
background: linear-gradient(135deg, #dfa40c, #b1df0c);
}
.shadow-dfa40c {
box-shadow: 0 8px 24px rgb(223 164 12 / 0.35);
}
Goldenrod
#dfa40c rgb(223, 164, 12) hsl(43, 90%, 46%) Goldenrod
#0c47df rgb(12, 71, 223) hsl(223, 90%, 46%) Persian Blue
#0cdfa4 rgb(12, 223, 164) hsl(163, 90%, 46%) Caribbean Green
#a40cdf rgb(164, 12, 223) hsl(283, 90%, 46%) Dark Orchid