#afa705 ≈ Brass
#afa705 is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 68.63% red, 65.49% green and 1.96% blue; printed in CMYK it uses 0% cyan, 4.57% magenta, 97.14% yellow and 31.37% black. Its hue angle is 57.18°, with 94.44% saturation and 35.29% 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.35:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.95.
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.3676 |
Shades
#afa705 mixed progressively with black.
Tints
#afa705 mixed progressively with white.
Tones
#afa705 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afa705 {
color: #afa705;
}
.bg-afa705 {
background-color: #afa705;
color: #000000;
}
.border-afa705 {
border: 2px solid #afa705;
}
:root {
--color-primary: #afa705;
--color-primary-rgb: 175 167 5;
--color-primary-hsl: 57 94% 35%;
}
.gradient-afa705 {
background: linear-gradient(135deg, #afa705, #62af05);
}
.shadow-afa705 {
box-shadow: 0 8px 24px rgb(175 167 5 / 0.35);
}
Brass
#afa705 rgb(175, 167, 5) hsl(57, 94%, 35%) Brass
#050daf rgb(5, 13, 175) hsl(237, 94%, 35%) Zaffre
#05afa7 rgb(5, 175, 167) hsl(177, 94%, 35%) Light Sea Green
#a705af rgb(167, 5, 175) hsl(297, 94%, 35%) Dark Orchid