#a8a40b ≈ Brass
#a8a40b is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 65.88% red, 64.31% green and 4.31% blue; printed in CMYK it uses 0% cyan, 2.38% magenta, 93.45% yellow and 34.12% black. Its hue angle is 58.47°, with 87.71% saturation and 35.1% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 7.98:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 5.2.
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.349 |
Shades
#a8a40b mixed progressively with black.
Tints
#a8a40b mixed progressively with white.
Tones
#a8a40b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a8a40b {
color: #a8a40b;
}
.bg-a8a40b {
background-color: #a8a40b;
color: #000000;
}
.border-a8a40b {
border: 2px solid #a8a40b;
}
:root {
--color-primary: #a8a40b;
--color-primary-rgb: 168 164 11;
--color-primary-hsl: 58 88% 35%;
}
.gradient-a8a40b {
background: linear-gradient(135deg, #a8a40b, #5ea80b);
}
.shadow-a8a40b {
box-shadow: 0 8px 24px rgb(168 164 11 / 0.35);
}
Brass
#a8a40b rgb(168, 164, 11) hsl(58, 88%, 35%) Brass
#0b0fa8 rgb(11, 15, 168) hsl(238, 88%, 35%) Zaffre
#0ba8a4 rgb(11, 168, 164) hsl(178, 88%, 35%) Light Sea Green
#a40ba8 rgb(164, 11, 168) hsl(298, 88%, 35%) Dark Magenta