#dca51f ≈ Goldenrod
#dca51f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 86.27% red, 64.71% green and 12.16% blue; printed in CMYK it uses 0% cyan, 25% magenta, 85.91% yellow and 13.73% black. Its hue angle is 42.54°, with 75.3% saturation and 49.22% 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.44:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 0.53.
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.4222 |
Shades
#dca51f mixed progressively with black.
Tints
#dca51f mixed progressively with white.
Tones
#dca51f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dca51f {
color: #dca51f;
}
.bg-dca51f {
background-color: #dca51f;
color: #000000;
}
.border-dca51f {
border: 2px solid #dca51f;
}
:root {
--color-primary: #dca51f;
--color-primary-rgb: 220 165 31;
--color-primary-hsl: 43 75% 49%;
}
.gradient-dca51f {
background: linear-gradient(135deg, #dca51f, #b5dc1f);
}
.shadow-dca51f {
box-shadow: 0 8px 24px rgb(220 165 31 / 0.35);
}
Goldenrod
#dca51f rgb(220, 165, 31) hsl(43, 75%, 49%) Goldenrod
#1f56dc rgb(31, 86, 220) hsl(223, 75%, 49%) Sapphire
#1fdca5 rgb(31, 220, 165) hsl(163, 75%, 49%) Caribbean Green
#a51fdc rgb(165, 31, 220) hsl(283, 75%, 49%) Dark Orchid