#cba01a ≈ Goldenrod
#cba01a is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 79.61% red, 62.75% green and 10.2% blue; printed in CMYK it uses 0% cyan, 21.18% magenta, 87.19% yellow and 20.39% black. Its hue angle is 45.42°, with 77.29% saturation and 44.9% 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.58:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 3.33.
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.3791 |
Shades
#cba01a mixed progressively with black.
Tints
#cba01a mixed progressively with white.
Tones
#cba01a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cba01a {
color: #cba01a;
}
.bg-cba01a {
background-color: #cba01a;
color: #000000;
}
.border-cba01a {
border: 2px solid #cba01a;
}
:root {
--color-primary: #cba01a;
--color-primary-rgb: 203 160 26;
--color-primary-hsl: 45 77% 45%;
}
.gradient-cba01a {
background: linear-gradient(135deg, #cba01a, #9ecb1a);
}
.shadow-cba01a {
box-shadow: 0 8px 24px rgb(203 160 26 / 0.35);
}
Goldenrod
#cba01a rgb(203, 160, 26) hsl(45, 77%, 45%) Goldenrod
#1a45cb rgb(26, 69, 203) hsl(225, 77%, 45%) Persian Blue
#1acba0 rgb(26, 203, 160) hsl(165, 77%, 45%) Caribbean Green
#a01acb rgb(160, 26, 203) hsl(285, 77%, 45%) Dark Orchid