#afa40e ≈ Brass
#afa40e is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 68.63% red, 64.31% green and 5.49% blue; printed in CMYK it uses 0% cyan, 6.29% magenta, 92% yellow and 31.37% black. Its hue angle is 55.9°, 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.14:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.38.
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.357 |
Shades
#afa40e mixed progressively with black.
Tints
#afa40e mixed progressively with white.
Tones
#afa40e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afa40e {
color: #afa40e;
}
.bg-afa40e {
background-color: #afa40e;
color: #000000;
}
.border-afa40e {
border: 2px solid #afa40e;
}
:root {
--color-primary: #afa40e;
--color-primary-rgb: 175 164 14;
--color-primary-hsl: 56 85% 37%;
}
.gradient-afa40e {
background: linear-gradient(135deg, #afa40e, #6aaf0e);
}
.shadow-afa40e {
box-shadow: 0 8px 24px rgb(175 164 14 / 0.35);
}
Brass
#afa40e rgb(175, 164, 14) hsl(56, 85%, 37%) Brass
#0e19af rgb(14, 25, 175) hsl(236, 85%, 37%) Zaffre
#0eafa4 rgb(14, 175, 164) hsl(176, 85%, 37%) Light Sea Green
#a40eaf rgb(164, 14, 175) hsl(296, 85%, 37%) Dark Orchid