#a7a331 ≈ Brass
#a7a331 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 65.49% red, 63.92% green and 19.22% blue; printed in CMYK it uses 0% cyan, 2.4% magenta, 70.66% yellow and 34.51% black. Its hue angle is 57.97°, with 54.63% 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 7.93:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.75.
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.3463 |
Shades
#a7a331 mixed progressively with black.
Tints
#a7a331 mixed progressively with white.
Tones
#a7a331 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a7a331 {
color: #a7a331;
}
.bg-a7a331 {
background-color: #a7a331;
color: #000000;
}
.border-a7a331 {
border: 2px solid #a7a331;
}
:root {
--color-primary: #a7a331;
--color-primary-rgb: 167 163 49;
--color-primary-hsl: 58 55% 42%;
}
.gradient-a7a331 {
background: linear-gradient(135deg, #a7a331, #70a731);
}
.shadow-a7a331 {
box-shadow: 0 8px 24px rgb(167 163 49 / 0.35);
}
Brass
#a7a331 rgb(167, 163, 49) hsl(58, 55%, 42%) Brass
#3135a7 rgb(49, 53, 167) hsl(238, 55%, 42%) Egyptian Blue
#31a7a3 rgb(49, 167, 163) hsl(178, 55%, 42%) Light Sea Green
#a331a7 rgb(163, 49, 167) hsl(298, 55%, 42%) Purpureus