#d8a412 ≈ Goldenrod
#d8a412 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 84.71% red, 64.31% green and 7.06% blue; printed in CMYK it uses 0% cyan, 24.07% magenta, 91.67% yellow and 15.29% black. Its hue angle is 44.24°, with 84.62% saturation and 45.88% 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.24:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 0.91.
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.4119 |
Shades
#d8a412 mixed progressively with black.
Tints
#d8a412 mixed progressively with white.
Tones
#d8a412 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d8a412 {
color: #d8a412;
}
.bg-d8a412 {
background-color: #d8a412;
color: #000000;
}
.border-d8a412 {
border: 2px solid #d8a412;
}
:root {
--color-primary: #d8a412;
--color-primary-rgb: 216 164 18;
--color-primary-hsl: 44 85% 46%;
}
.gradient-d8a412 {
background: linear-gradient(135deg, #d8a412, #a9d812);
}
.shadow-d8a412 {
box-shadow: 0 8px 24px rgb(216 164 18 / 0.35);
}
Goldenrod
#d8a412 rgb(216, 164, 18) hsl(44, 85%, 46%) Goldenrod
#1246d8 rgb(18, 70, 216) hsl(224, 85%, 46%) Persian Blue
#12d8a4 rgb(18, 216, 164) hsl(164, 85%, 46%) Caribbean Green
#a412d8 rgb(164, 18, 216) hsl(284, 85%, 46%) Dark Orchid