#a8a018 ≈ Brass
#a8a018 is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 65.88% red, 62.75% green and 9.41% blue; printed in CMYK it uses 0% cyan, 4.76% magenta, 85.71% yellow and 34.12% black. Its hue angle is 56.67°, with 75% saturation and 37.65% 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.71:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.45.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #999900 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.3353 |
Shades
#a8a018 mixed progressively with black.
Tints
#a8a018 mixed progressively with white.
Tones
#a8a018 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a8a018 {
color: #a8a018;
}
.bg-a8a018 {
background-color: #a8a018;
color: #000000;
}
.border-a8a018 {
border: 2px solid #a8a018;
}
:root {
--color-primary: #a8a018;
--color-primary-rgb: 168 160 24;
--color-primary-hsl: 57 75% 38%;
}
.gradient-a8a018 {
background: linear-gradient(135deg, #a8a018, #68a818);
}
.shadow-a8a018 {
box-shadow: 0 8px 24px rgb(168 160 24 / 0.35);
}
Brass
#a8a018 rgb(168, 160, 24) hsl(57, 75%, 38%) Brass
#1820a8 rgb(24, 32, 168) hsl(237, 75%, 38%) Zaffre
#18a8a0 rgb(24, 168, 160) hsl(177, 75%, 38%) Light Sea Green
#a018a8 rgb(160, 24, 168) hsl(297, 75%, 38%) Dark Magenta