#afa147 ≈ Brass
#afa147 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 68.63% red, 63.14% green and 27.84% blue; printed in CMYK it uses 0% cyan, 8% magenta, 59.43% yellow and 31.37% black. Its hue angle is 51.92°, with 42.28% saturation and 48.24% 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.01:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 2.03.
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.3506 |
Shades
#afa147 mixed progressively with black.
Tints
#afa147 mixed progressively with white.
Tones
#afa147 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afa147 {
color: #afa147;
}
.bg-afa147 {
background-color: #afa147;
color: #000000;
}
.border-afa147 {
border: 2px solid #afa147;
}
:root {
--color-primary: #afa147;
--color-primary-rgb: 175 161 71;
--color-primary-hsl: 52 42% 48%;
}
.gradient-afa147 {
background: linear-gradient(135deg, #afa147, #89af47);
}
.shadow-afa147 {
box-shadow: 0 8px 24px rgb(175 161 71 / 0.35);
}
Brass
#afa147 rgb(175, 161, 71) hsl(52, 42%, 48%) Brass
#4755af rgb(71, 85, 175) hsl(232, 42%, 48%) Sapphire
#47afa1 rgb(71, 175, 161) hsl(172, 42%, 48%) Light Sea Green
#a147af rgb(161, 71, 175) hsl(292, 42%, 48%) Purpureus