#afaa2f ≈ Brass
#afaa2f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 68.63% red, 66.67% green and 18.43% blue; printed in CMYK it uses 0% cyan, 2.86% magenta, 73.14% yellow and 31.37% black. Its hue angle is 57.66°, with 57.66% saturation and 43.53% 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.61:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.68.
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.3807 |
Shades
#afaa2f mixed progressively with black.
Tints
#afaa2f mixed progressively with white.
Tones
#afaa2f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afaa2f {
color: #afaa2f;
}
.bg-afaa2f {
background-color: #afaa2f;
color: #000000;
}
.border-afaa2f {
border: 2px solid #afaa2f;
}
:root {
--color-primary: #afaa2f;
--color-primary-rgb: 175 170 47;
--color-primary-hsl: 58 58% 44%;
}
.gradient-afaa2f {
background: linear-gradient(135deg, #afaa2f, #74af2f);
}
.shadow-afaa2f {
box-shadow: 0 8px 24px rgb(175 170 47 / 0.35);
}
Brass
#afaa2f rgb(175, 170, 47) hsl(58, 58%, 44%) Brass
#2f34af rgb(47, 52, 175) hsl(238, 58%, 44%) Persian Blue
#2fafaa rgb(47, 175, 170) hsl(178, 58%, 44%) Light Sea Green
#aa2faf rgb(170, 47, 175) hsl(298, 58%, 44%) Purpureus