#d8a60f ≈ Goldenrod
#d8a60f is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 84.71% red, 65.1% green and 5.88% blue; printed in CMYK it uses 0% cyan, 23.15% magenta, 93.06% yellow and 15.29% black. Its hue angle is 45.07°, with 87.01% saturation and 45.29% 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.38:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 1.5.
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.4191 |
Shades
#d8a60f mixed progressively with black.
Tints
#d8a60f mixed progressively with white.
Tones
#d8a60f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d8a60f {
color: #d8a60f;
}
.bg-d8a60f {
background-color: #d8a60f;
color: #000000;
}
.border-d8a60f {
border: 2px solid #d8a60f;
}
:root {
--color-primary: #d8a60f;
--color-primary-rgb: 216 166 15;
--color-primary-hsl: 45 87% 45%;
}
.gradient-d8a60f {
background: linear-gradient(135deg, #d8a60f, #a5d80f);
}
.shadow-d8a60f {
box-shadow: 0 8px 24px rgb(216 166 15 / 0.35);
}
Goldenrod
#d8a60f rgb(216, 166, 15) hsl(45, 87%, 45%) Goldenrod
#0f41d8 rgb(15, 65, 216) hsl(225, 87%, 45%) Persian Blue
#0fd8a6 rgb(15, 216, 166) hsl(165, 87%, 45%) Caribbean Green
#a60fd8 rgb(166, 15, 216) hsl(285, 87%, 45%) Dark Orchid