#d8a80c ≈ Goldenrod
#d8a80c 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.88% green and 4.71% blue; printed in CMYK it uses 0% cyan, 22.22% magenta, 94.44% yellow and 15.29% black. Its hue angle is 45.88°, with 89.47% saturation and 44.71% 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.53:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 2.23.
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.4263 |
Shades
#d8a80c mixed progressively with black.
Tints
#d8a80c mixed progressively with white.
Tones
#d8a80c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d8a80c {
color: #d8a80c;
}
.bg-d8a80c {
background-color: #d8a80c;
color: #000000;
}
.border-d8a80c {
border: 2px solid #d8a80c;
}
:root {
--color-primary: #d8a80c;
--color-primary-rgb: 216 168 12;
--color-primary-hsl: 46 89% 45%;
}
.gradient-d8a80c {
background: linear-gradient(135deg, #d8a80c, #a2d80c);
}
.shadow-d8a80c {
box-shadow: 0 8px 24px rgb(216 168 12 / 0.35);
}
Goldenrod
#d8a80c rgb(216, 168, 12) hsl(46, 89%, 45%) Goldenrod
#0c3cd8 rgb(12, 60, 216) hsl(226, 89%, 45%) Persian Blue
#0cd8a8 rgb(12, 216, 168) hsl(166, 89%, 45%) Caribbean Green
#a80cd8 rgb(168, 12, 216) hsl(286, 89%, 45%) Dark Orchid