#afaa52 ≈ Brass
#afaa52 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 68.63% red, 66.67% green and 32.16% blue; printed in CMYK it uses 0% cyan, 2.86% magenta, 53.14% yellow and 31.37% black. Its hue angle is 56.77°, with 36.76% saturation and 50.39% 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.69:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.58.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #999966 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.3847 |
Shades
#afaa52 mixed progressively with black.
Tints
#afaa52 mixed progressively with white.
Tones
#afaa52 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afaa52 {
color: #afaa52;
}
.bg-afaa52 {
background-color: #afaa52;
color: #000000;
}
.border-afaa52 {
border: 2px solid #afaa52;
}
:root {
--color-primary: #afaa52;
--color-primary-rgb: 175 170 82;
--color-primary-hsl: 57 37% 50%;
}
.gradient-afaa52 {
background: linear-gradient(135deg, #afaa52, #86af52);
}
.shadow-afaa52 {
box-shadow: 0 8px 24px rgb(175 170 82 / 0.35);
}
Brass
#afaa52 rgb(175, 170, 82) hsl(57, 37%, 50%) Brass
#5257af rgb(82, 87, 175) hsl(237, 37%, 50%) Iris
#52afaa rgb(82, 175, 170) hsl(177, 37%, 50%) Verdigris
#aa52af rgb(170, 82, 175) hsl(297, 37%, 50%) Purpureus