#afa90e ≈ Brass
#afa90e is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 68.63% red, 66.27% green and 5.49% blue; printed in CMYK it uses 0% cyan, 3.43% magenta, 92% yellow and 31.37% black. Its hue angle is 57.76°, with 85.19% saturation and 37.06% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 8.5:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 5.01.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #999900 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.3752 |
Shades
#afa90e mixed progressively with black.
Tints
#afa90e mixed progressively with white.
Tones
#afa90e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afa90e {
color: #afa90e;
}
.bg-afa90e {
background-color: #afa90e;
color: #000000;
}
.border-afa90e {
border: 2px solid #afa90e;
}
:root {
--color-primary: #afa90e;
--color-primary-rgb: 175 169 14;
--color-primary-hsl: 58 85% 37%;
}
.gradient-afa90e {
background: linear-gradient(135deg, #afa90e, #65af0e);
}
.shadow-afa90e {
box-shadow: 0 8px 24px rgb(175 169 14 / 0.35);
}
Brass
#afa90e rgb(175, 169, 14) hsl(58, 85%, 37%) Brass
#0e14af rgb(14, 20, 175) hsl(238, 85%, 37%) Zaffre
#0eafa9 rgb(14, 175, 169) hsl(178, 85%, 37%) Light Sea Green
#a90eaf rgb(169, 14, 175) hsl(298, 85%, 37%) Dark Orchid