#d1981b ≈ Goldenrod
#d1981b is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 81.96% red, 59.61% green and 10.59% blue; printed in CMYK it uses 0% cyan, 27.27% magenta, 87.08% yellow and 18.04% black. Its hue angle is 41.21°, with 77.12% saturation and 46.27% 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 8.22:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 3.93.
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.3609 |
Shades
#d1981b mixed progressively with black.
Tints
#d1981b mixed progressively with white.
Tones
#d1981b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d1981b {
color: #d1981b;
}
.bg-d1981b {
background-color: #d1981b;
color: #000000;
}
.border-d1981b {
border: 2px solid #d1981b;
}
:root {
--color-primary: #d1981b;
--color-primary-rgb: 209 152 27;
--color-primary-hsl: 41 77% 46%;
}
.gradient-d1981b {
background: linear-gradient(135deg, #d1981b, #afd11b);
}
.shadow-d1981b {
box-shadow: 0 8px 24px rgb(209 152 27 / 0.35);
}
Goldenrod
#d1981b rgb(209, 152, 27) hsl(41, 77%, 46%) Goldenrod
#1b54d1 rgb(27, 84, 209) hsl(221, 77%, 46%) Sapphire
#1bd198 rgb(27, 209, 152) hsl(161, 77%, 46%) Caribbean Green
#981bd1 rgb(152, 27, 209) hsl(281, 77%, 46%) Dark Violet