#a5aa2e ≈ Brass
#a5aa2e is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 64.71% red, 66.67% green and 18.04% blue; printed in CMYK it uses 2.94% cyan, 0% magenta, 72.94% yellow and 33.33% black. Its hue angle is 62.42°, with 57.41% saturation and 42.35% 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 8.39:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 5.79.
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.3695 |
Shades
#a5aa2e mixed progressively with black.
Tints
#a5aa2e mixed progressively with white.
Tones
#a5aa2e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a5aa2e {
color: #a5aa2e;
}
.bg-a5aa2e {
background-color: #a5aa2e;
color: #000000;
}
.border-a5aa2e {
border: 2px solid #a5aa2e;
}
:root {
--color-primary: #a5aa2e;
--color-primary-rgb: 165 170 46;
--color-primary-hsl: 62 57% 42%;
}
.gradient-a5aa2e {
background: linear-gradient(135deg, #a5aa2e, #67aa2e);
}
.shadow-a5aa2e {
box-shadow: 0 8px 24px rgb(165 170 46 / 0.35);
}
Brass
#a5aa2e rgb(165, 170, 46) hsl(62, 57%, 42%) Brass
#332eaa rgb(51, 46, 170) hsl(242, 57%, 42%) Egyptian Blue
#2ea5aa rgb(46, 165, 170) hsl(182, 57%, 42%) Cadet Blue
#aa2ea5 rgb(170, 46, 165) hsl(302, 57%, 42%) Purpureus