#a9a42e ≈ Brass
#a9a42e is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 66.27% red, 64.31% green and 18.04% blue; printed in CMYK it uses 0% cyan, 2.96% magenta, 72.78% yellow and 33.73% black. Its hue angle is 57.56°, with 57.21% saturation and 42.16% 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.04:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.58.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #999933 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.3518 |
Shades
#a9a42e mixed progressively with black.
Tints
#a9a42e mixed progressively with white.
Tones
#a9a42e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a9a42e {
color: #a9a42e;
}
.bg-a9a42e {
background-color: #a9a42e;
color: #000000;
}
.border-a9a42e {
border: 2px solid #a9a42e;
}
:root {
--color-primary: #a9a42e;
--color-primary-rgb: 169 164 46;
--color-primary-hsl: 58 57% 42%;
}
.gradient-a9a42e {
background: linear-gradient(135deg, #a9a42e, #71a92e);
}
.shadow-a9a42e {
box-shadow: 0 8px 24px rgb(169 164 46 / 0.35);
}
Brass
#a9a42e rgb(169, 164, 46) hsl(58, 57%, 42%) Brass
#2e33a9 rgb(46, 51, 169) hsl(238, 57%, 42%) Egyptian Blue
#2ea9a4 rgb(46, 169, 164) hsl(178, 57%, 42%) Light Sea Green
#a42ea9 rgb(164, 46, 169) hsl(298, 57%, 42%) Purpureus