#a8a42e ≈ Brass
#a8a42e is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 65.88% red, 64.31% green and 18.04% blue; printed in CMYK it uses 0% cyan, 2.38% magenta, 72.62% yellow and 34.12% black. Its hue angle is 58.03°, with 57.01% saturation and 41.96% 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.01:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.8.
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.3507 |
Shades
#a8a42e mixed progressively with black.
Tints
#a8a42e mixed progressively with white.
Tones
#a8a42e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a8a42e {
color: #a8a42e;
}
.bg-a8a42e {
background-color: #a8a42e;
color: #000000;
}
.border-a8a42e {
border: 2px solid #a8a42e;
}
:root {
--color-primary: #a8a42e;
--color-primary-rgb: 168 164 46;
--color-primary-hsl: 58 57% 42%;
}
.gradient-a8a42e {
background: linear-gradient(135deg, #a8a42e, #6fa82e);
}
.shadow-a8a42e {
box-shadow: 0 8px 24px rgb(168 164 46 / 0.35);
}
Brass
#a8a42e rgb(168, 164, 46) hsl(58, 57%, 42%) Brass
#2e32a8 rgb(46, 50, 168) hsl(238, 57%, 42%) Egyptian Blue
#2ea8a4 rgb(46, 168, 164) hsl(178, 57%, 42%) Light Sea Green
#a42ea8 rgb(164, 46, 168) hsl(298, 57%, 42%) Purpureus