#a8a804 ≈ Brass
#a8a804 is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 65.88% red, 65.88% green and 1.57% blue; printed in CMYK it uses 0% cyan, 0% magenta, 97.62% yellow and 34.12% black. Its hue angle is 60°, with 95.35% saturation and 33.73% 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 corporate identities. Black text on this color reaches a contrast ratio of 8.27:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 5.94.
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.3634 |
Shades
#a8a804 mixed progressively with black.
Tints
#a8a804 mixed progressively with white.
Tones
#a8a804 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a8a804 {
color: #a8a804;
}
.bg-a8a804 {
background-color: #a8a804;
color: #000000;
}
.border-a8a804 {
border: 2px solid #a8a804;
}
:root {
--color-primary: #a8a804;
--color-primary-rgb: 168 168 4;
--color-primary-hsl: 60 95% 34%;
}
.gradient-a8a804 {
background: linear-gradient(135deg, #a8a804, #56a804);
}
.shadow-a8a804 {
box-shadow: 0 8px 24px rgb(168 168 4 / 0.35);
}
Brass
#a8a804 rgb(168, 168, 4) hsl(60, 95%, 34%) Brass
#0404a8 rgb(4, 4, 168) hsl(240, 95%, 34%) Zaffre
#04a8a8 rgb(4, 168, 168) hsl(180, 95%, 34%) Light Sea Green
#a804a8 rgb(168, 4, 168) hsl(300, 95%, 34%) Dark Magenta