#a8a12e ≈ Brass
#a8a12e is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 65.88% red, 63.14% green and 18.04% blue; printed in CMYK it uses 0% cyan, 4.17% magenta, 72.62% yellow and 34.12% black. Its hue angle is 56.56°, 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 7.8:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.43.
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.3401 |
Shades
#a8a12e mixed progressively with black.
Tints
#a8a12e mixed progressively with white.
Tones
#a8a12e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a8a12e {
color: #a8a12e;
}
.bg-a8a12e {
background-color: #a8a12e;
color: #000000;
}
.border-a8a12e {
border: 2px solid #a8a12e;
}
:root {
--color-primary: #a8a12e;
--color-primary-rgb: 168 161 46;
--color-primary-hsl: 57 57% 42%;
}
.gradient-a8a12e {
background: linear-gradient(135deg, #a8a12e, #72a82e);
}
.shadow-a8a12e {
box-shadow: 0 8px 24px rgb(168 161 46 / 0.35);
}
Brass
#a8a12e rgb(168, 161, 46) hsl(57, 57%, 42%) Brass
#2e35a8 rgb(46, 53, 168) hsl(237, 57%, 42%) Egyptian Blue
#2ea8a1 rgb(46, 168, 161) hsl(177, 57%, 42%) Light Sea Green
#a12ea8 rgb(161, 46, 168) hsl(297, 57%, 42%) Purpureus