#d8a331 ≈ Goldenrod
#d8a331 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 84.71% red, 63.92% green and 19.22% blue; printed in CMYK it uses 0% cyan, 24.54% magenta, 77.31% yellow and 15.29% black. Its hue angle is 40.96°, with 68.16% saturation and 51.96% 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.2:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 1.83.
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.4102 |
Shades
#d8a331 mixed progressively with black.
Tints
#d8a331 mixed progressively with white.
Tones
#d8a331 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d8a331 {
color: #d8a331;
}
.bg-d8a331 {
background-color: #d8a331;
color: #000000;
}
.border-d8a331 {
border: 2px solid #d8a331;
}
:root {
--color-primary: #d8a331;
--color-primary-rgb: 216 163 49;
--color-primary-hsl: 41 68% 52%;
}
.gradient-d8a331 {
background: linear-gradient(135deg, #d8a331, #b9d831);
}
.shadow-d8a331 {
box-shadow: 0 8px 24px rgb(216 163 49 / 0.35);
}
Goldenrod
#d8a331 rgb(216, 163, 49) hsl(41, 68%, 52%) Goldenrod
#3166d8 rgb(49, 102, 216) hsl(221, 68%, 52%) Royal Blue
#31d8a3 rgb(49, 216, 163) hsl(161, 68%, 52%) Caribbean Green
#a331d8 rgb(163, 49, 216) hsl(281, 68%, 52%) Dark Orchid