#afa73a ≈ Brass
#afa73a is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 68.63% red, 65.49% green and 22.75% blue; printed in CMYK it uses 0% cyan, 4.57% magenta, 66.86% yellow and 31.37% black. Its hue angle is 55.9°, with 50.21% saturation and 45.69% 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.41:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 2.24.
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.3706 |
Shades
#afa73a mixed progressively with black.
Tints
#afa73a mixed progressively with white.
Tones
#afa73a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afa73a {
color: #afa73a;
}
.bg-afa73a {
background-color: #afa73a;
color: #000000;
}
.border-afa73a {
border: 2px solid #afa73a;
}
:root {
--color-primary: #afa73a;
--color-primary-rgb: 175 167 58;
--color-primary-hsl: 56 50% 46%;
}
.gradient-afa73a {
background: linear-gradient(135deg, #afa73a, #7daf3a);
}
.shadow-afa73a {
box-shadow: 0 8px 24px rgb(175 167 58 / 0.35);
}
Brass
#afa73a rgb(175, 167, 58) hsl(56, 50%, 46%) Brass
#3a42af rgb(58, 66, 175) hsl(236, 50%, 46%) Ocean Blue
#3aafa7 rgb(58, 175, 167) hsl(176, 50%, 46%) Light Sea Green
#a73aaf rgb(167, 58, 175) hsl(296, 50%, 46%) Purpureus