#afa159 ≈ Brass
#afa159 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 34.9% blue; printed in CMYK it uses 0% cyan, 8% magenta, 49.14% yellow and 31.37% black. Its hue angle is 50.23°, with 34.96% saturation and 51.76% 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.06:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.51.
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.3532 |
Shades
#afa159 mixed progressively with black.
Tints
#afa159 mixed progressively with white.
Tones
#afa159 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afa159 {
color: #afa159;
}
.bg-afa159 {
background-color: #afa159;
color: #000000;
}
.border-afa159 {
border: 2px solid #afa159;
}
:root {
--color-primary: #afa159;
--color-primary-rgb: 175 161 89;
--color-primary-hsl: 50 35% 52%;
}
.gradient-afa159 {
background: linear-gradient(135deg, #afa159, #92af59);
}
.shadow-afa159 {
box-shadow: 0 8px 24px rgb(175 161 89 / 0.35);
}
Brass
#afa159 rgb(175, 161, 89) hsl(50, 35%, 52%) Brass
#5967af rgb(89, 103, 175) hsl(230, 35%, 52%) Queen Blue
#59afa1 rgb(89, 175, 161) hsl(170, 35%, 52%) Verdigris
#a159af rgb(161, 89, 175) hsl(290, 35%, 52%) Purpureus