#c0a942 ≈ Brass
#c0a942 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 75.29% red, 66.27% green and 25.88% blue; printed in CMYK it uses 0% cyan, 11.98% magenta, 65.63% yellow and 24.71% black. Its hue angle is 49.05°, with 50% saturation and 50.59% 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 Brass (#b5a642), ΔE 2.69.
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.3998 |
Shades
#c0a942 mixed progressively with black.
Tints
#c0a942 mixed progressively with white.
Tones
#c0a942 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c0a942 {
color: #c0a942;
}
.bg-c0a942 {
background-color: #c0a942;
color: #000000;
}
.border-c0a942 {
border: 2px solid #c0a942;
}
:root {
--color-primary: #c0a942;
--color-primary-rgb: 192 169 66;
--color-primary-hsl: 49 50% 51%;
}
.gradient-c0a942 {
background: linear-gradient(135deg, #c0a942, #98c042);
}
.shadow-c0a942 {
box-shadow: 0 8px 24px rgb(192 169 66 / 0.35);
}
Brass
#c0a942 rgb(192, 169, 66) hsl(49, 50%, 51%) Brass
#4259c0 rgb(66, 89, 192) hsl(229, 50%, 51%) Sapphire
#42c0a9 rgb(66, 192, 169) hsl(169, 50%, 51%) Medium Aquamarine
#a942c0 rgb(169, 66, 192) hsl(289, 50%, 51%) Purpureus