#af9b4e ≈ Brass
#af9b4e is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 68.63% red, 60.78% green and 30.59% blue; printed in CMYK it uses 0% cyan, 11.43% magenta, 55.43% yellow and 31.37% black. Its hue angle is 47.63°, with 38.34% saturation and 49.61% 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.62:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.75.
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.3311 |
Shades
#af9b4e mixed progressively with black.
Tints
#af9b4e mixed progressively with white.
Tones
#af9b4e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af9b4e {
color: #af9b4e;
}
.bg-af9b4e {
background-color: #af9b4e;
color: #000000;
}
.border-af9b4e {
border: 2px solid #af9b4e;
}
:root {
--color-primary: #af9b4e;
--color-primary-rgb: 175 155 78;
--color-primary-hsl: 48 38% 50%;
}
.gradient-af9b4e {
background: linear-gradient(135deg, #af9b4e, #93af4e);
}
.shadow-af9b4e {
box-shadow: 0 8px 24px rgb(175 155 78 / 0.35);
}
Brass
#af9b4e rgb(175, 155, 78) hsl(48, 38%, 50%) Brass
#4e62af rgb(78, 98, 175) hsl(228, 38%, 50%) Queen Blue
#4eaf9b rgb(78, 175, 155) hsl(168, 38%, 50%) Persian Green
#9b4eaf rgb(155, 78, 175) hsl(288, 38%, 50%) Purpureus