#d8a10c ≈ Goldenrod
#d8a10c is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 84.71% red, 63.14% green and 4.71% blue; printed in CMYK it uses 0% cyan, 25.46% magenta, 94.44% yellow and 15.29% black. Its hue angle is 43.82°, 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.02:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 1.26.
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.4012 |
Shades
#d8a10c mixed progressively with black.
Tints
#d8a10c mixed progressively with white.
Tones
#d8a10c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d8a10c {
color: #d8a10c;
}
.bg-d8a10c {
background-color: #d8a10c;
color: #000000;
}
.border-d8a10c {
border: 2px solid #d8a10c;
}
:root {
--color-primary: #d8a10c;
--color-primary-rgb: 216 161 12;
--color-primary-hsl: 44 89% 45%;
}
.gradient-d8a10c {
background: linear-gradient(135deg, #d8a10c, #a9d80c);
}
.shadow-d8a10c {
box-shadow: 0 8px 24px rgb(216 161 12 / 0.35);
}
Goldenrod
#d8a10c rgb(216, 161, 12) hsl(44, 89%, 45%) Goldenrod
#0c43d8 rgb(12, 67, 216) hsl(224, 89%, 45%) Persian Blue
#0cd8a1 rgb(12, 216, 161) hsl(164, 89%, 45%) Caribbean Green
#a10cd8 rgb(161, 12, 216) hsl(284, 89%, 45%) Dark Violet