#dca40f ≈ Goldenrod
#dca40f is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 64.31% green and 5.88% blue; printed in CMYK it uses 0% cyan, 25.45% magenta, 93.18% yellow and 13.73% black. Its hue angle is 43.61°, with 87.23% 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.36:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 0.96.
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.418 |
Shades
#dca40f mixed progressively with black.
Tints
#dca40f mixed progressively with white.
Tones
#dca40f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dca40f {
color: #dca40f;
}
.bg-dca40f {
background-color: #dca40f;
color: #000000;
}
.border-dca40f {
border: 2px solid #dca40f;
}
:root {
--color-primary: #dca40f;
--color-primary-rgb: 220 164 15;
--color-primary-hsl: 44 87% 46%;
}
.gradient-dca40f {
background: linear-gradient(135deg, #dca40f, #aedc0f);
}
.shadow-dca40f {
box-shadow: 0 8px 24px rgb(220 164 15 / 0.35);
}
Goldenrod
#dca40f rgb(220, 164, 15) hsl(44, 87%, 46%) Goldenrod
#0f47dc rgb(15, 71, 220) hsl(224, 87%, 46%) Persian Blue
#0fdca4 rgb(15, 220, 164) hsl(164, 87%, 46%) Caribbean Green
#a40fdc rgb(164, 15, 220) hsl(284, 87%, 46%) Dark Orchid