#aaa21d ≈ Brass
#aaa21d is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 66.67% red, 63.53% green and 11.37% blue; printed in CMYK it uses 0% cyan, 4.71% magenta, 82.94% yellow and 33.33% black. Its hue angle is 56.6°, with 70.85% saturation and 39.02% 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.9:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.06.
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.3448 |
Shades
#aaa21d mixed progressively with black.
Tints
#aaa21d mixed progressively with white.
Tones
#aaa21d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-aaa21d {
color: #aaa21d;
}
.bg-aaa21d {
background-color: #aaa21d;
color: #000000;
}
.border-aaa21d {
border: 2px solid #aaa21d;
}
:root {
--color-primary: #aaa21d;
--color-primary-rgb: 170 162 29;
--color-primary-hsl: 57 71% 39%;
}
.gradient-aaa21d {
background: linear-gradient(135deg, #aaa21d, #6baa1d);
}
.shadow-aaa21d {
box-shadow: 0 8px 24px rgb(170 162 29 / 0.35);
}
Brass
#aaa21d rgb(170, 162, 29) hsl(57, 71%, 39%) Brass
#1d25aa rgb(29, 37, 170) hsl(237, 71%, 39%) Zaffre
#1daaa2 rgb(29, 170, 162) hsl(177, 71%, 39%) Light Sea Green
#a21daa rgb(162, 29, 170) hsl(297, 71%, 39%) Dark Orchid