#cfa42b ≈ Goldenrod
#cfa42b is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 64.31% green and 16.86% blue; printed in CMYK it uses 0% cyan, 20.77% magenta, 79.23% yellow and 18.82% black. Its hue angle is 44.27°, with 65.6% saturation and 49.02% 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:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 2.75.
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.3999 |
Shades
#cfa42b mixed progressively with black.
Tints
#cfa42b mixed progressively with white.
Tones
#cfa42b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfa42b {
color: #cfa42b;
}
.bg-cfa42b {
background-color: #cfa42b;
color: #000000;
}
.border-cfa42b {
border: 2px solid #cfa42b;
}
:root {
--color-primary: #cfa42b;
--color-primary-rgb: 207 164 43;
--color-primary-hsl: 44 66% 49%;
}
.gradient-cfa42b {
background: linear-gradient(135deg, #cfa42b, #a8cf2b);
}
.shadow-cfa42b {
box-shadow: 0 8px 24px rgb(207 164 43 / 0.35);
}
Goldenrod
#cfa42b rgb(207, 164, 43) hsl(44, 66%, 49%) Goldenrod
#2b56cf rgb(43, 86, 207) hsl(224, 66%, 49%) Sapphire
#2bcfa4 rgb(43, 207, 164) hsl(164, 66%, 49%) Caribbean Green
#a42bcf rgb(164, 43, 207) hsl(284, 66%, 49%) Dark Orchid