#afa81e ≈ Brass
#afa81e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 68.63% red, 65.88% green and 11.76% blue; printed in CMYK it uses 0% cyan, 4% magenta, 82.86% yellow and 31.37% black. Its hue angle is 57.1°, with 70.73% saturation and 40.2% 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.44:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.17.
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.3721 |
Shades
#afa81e mixed progressively with black.
Tints
#afa81e mixed progressively with white.
Tones
#afa81e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afa81e {
color: #afa81e;
}
.bg-afa81e {
background-color: #afa81e;
color: #000000;
}
.border-afa81e {
border: 2px solid #afa81e;
}
:root {
--color-primary: #afa81e;
--color-primary-rgb: 175 168 30;
--color-primary-hsl: 57 71% 40%;
}
.gradient-afa81e {
background: linear-gradient(135deg, #afa81e, #6eaf1e);
}
.shadow-afa81e {
box-shadow: 0 8px 24px rgb(175 168 30 / 0.35);
}
Brass
#afa81e rgb(175, 168, 30) hsl(57, 71%, 40%) Brass
#1e25af rgb(30, 37, 175) hsl(237, 71%, 40%) Zaffre
#1eafa8 rgb(30, 175, 168) hsl(177, 71%, 40%) Light Sea Green
#a81eaf rgb(168, 30, 175) hsl(297, 71%, 40%) Dark Orchid