#afa45b ≈ Brass
#afa45b is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 68.63% red, 64.31% green and 35.69% blue; printed in CMYK it uses 0% cyan, 6.29% magenta, 48% yellow and 31.37% black. Its hue angle is 52.14°, with 34.43% saturation and 52.16% 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.28:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.38.
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.3642 |
Shades
#afa45b mixed progressively with black.
Tints
#afa45b mixed progressively with white.
Tones
#afa45b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afa45b {
color: #afa45b;
}
.bg-afa45b {
background-color: #afa45b;
color: #000000;
}
.border-afa45b {
border: 2px solid #afa45b;
}
:root {
--color-primary: #afa45b;
--color-primary-rgb: 175 164 91;
--color-primary-hsl: 52 34% 52%;
}
.gradient-afa45b {
background: linear-gradient(135deg, #afa45b, #90af5b);
}
.shadow-afa45b {
box-shadow: 0 8px 24px rgb(175 164 91 / 0.35);
}
Brass
#afa45b rgb(175, 164, 91) hsl(52, 34%, 52%) Brass
#5b66af rgb(91, 102, 175) hsl(232, 34%, 52%) Slate Blue
#5bafa4 rgb(91, 175, 164) hsl(172, 34%, 52%) Verdigris
#a45baf rgb(164, 91, 175) hsl(292, 34%, 52%) Purpureus