#a5a331 ≈ Brass
#a5a331 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 64.71% red, 63.92% green and 19.22% blue; printed in CMYK it uses 0% cyan, 1.21% magenta, 70.3% yellow and 35.29% black. Its hue angle is 58.97°, with 54.21% 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.88:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.24.
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.3442 |
Shades
#a5a331 mixed progressively with black.
Tints
#a5a331 mixed progressively with white.
Tones
#a5a331 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a5a331 {
color: #a5a331;
}
.bg-a5a331 {
background-color: #a5a331;
color: #000000;
}
.border-a5a331 {
border: 2px solid #a5a331;
}
:root {
--color-primary: #a5a331;
--color-primary-rgb: 165 163 49;
--color-primary-hsl: 59 54% 42%;
}
.gradient-a5a331 {
background: linear-gradient(135deg, #a5a331, #6da531);
}
.shadow-a5a331 {
box-shadow: 0 8px 24px rgb(165 163 49 / 0.35);
}
Brass
#a5a331 rgb(165, 163, 49) hsl(59, 54%, 42%) Brass
#3133a5 rgb(49, 51, 165) hsl(239, 54%, 42%) Egyptian Blue
#31a5a3 rgb(49, 165, 163) hsl(179, 54%, 42%) Verdigris
#a331a5 rgb(163, 49, 165) hsl(299, 54%, 42%) Purpureus