#a8a158 ≈ Brass
#a8a158 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 34.51% blue; printed in CMYK it uses 0% cyan, 4.17% magenta, 47.62% yellow and 34.12% black. Its hue angle is 54.75°, with 31.5% saturation and 50.2% 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.9:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 5.14.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #999966 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.3452 |
Shades
#a8a158 mixed progressively with black.
Tints
#a8a158 mixed progressively with white.
Tones
#a8a158 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a8a158 {
color: #a8a158;
}
.bg-a8a158 {
background-color: #a8a158;
color: #000000;
}
.border-a8a158 {
border: 2px solid #a8a158;
}
:root {
--color-primary: #a8a158;
--color-primary-rgb: 168 161 88;
--color-primary-hsl: 55 32% 50%;
}
.gradient-a8a158 {
background: linear-gradient(135deg, #a8a158, #87a858);
}
.shadow-a8a158 {
box-shadow: 0 8px 24px rgb(168 161 88 / 0.35);
}
Brass
#a8a158 rgb(168, 161, 88) hsl(55, 32%, 50%) Brass
#585fa8 rgb(88, 95, 168) hsl(235, 32%, 50%) Slate Blue
#58a8a1 rgb(88, 168, 161) hsl(175, 32%, 50%) Verdigris
#a158a8 rgb(161, 88, 168) hsl(295, 32%, 50%) Purpureus