#c8a021 ≈ Goldenrod
#c8a021 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 78.43% red, 62.75% green and 12.94% blue; printed in CMYK it uses 0% cyan, 20% magenta, 83.5% yellow and 21.57% black. Its hue angle is 45.63°, with 71.67% saturation and 45.69% 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.51:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 4.04.
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.3753 |
Shades
#c8a021 mixed progressively with black.
Tints
#c8a021 mixed progressively with white.
Tones
#c8a021 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c8a021 {
color: #c8a021;
}
.bg-c8a021 {
background-color: #c8a021;
color: #000000;
}
.border-c8a021 {
border: 2px solid #c8a021;
}
:root {
--color-primary: #c8a021;
--color-primary-rgb: 200 160 33;
--color-primary-hsl: 46 72% 46%;
}
.gradient-c8a021 {
background: linear-gradient(135deg, #c8a021, #9dc821);
}
.shadow-c8a021 {
box-shadow: 0 8px 24px rgb(200 160 33 / 0.35);
}
Goldenrod
#c8a021 rgb(200, 160, 33) hsl(46, 72%, 46%) Goldenrod
#2149c8 rgb(33, 73, 200) hsl(226, 72%, 46%) Sapphire
#21c8a0 rgb(33, 200, 160) hsl(166, 72%, 46%) Caribbean Green
#a021c8 rgb(160, 33, 200) hsl(286, 72%, 46%) Dark Orchid