#afa034 ≈ Brass
#afa034 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 68.63% red, 62.75% green and 20.39% blue; printed in CMYK it uses 0% cyan, 8.57% magenta, 70.29% yellow and 31.37% black. Its hue angle is 52.68°, with 54.19% saturation and 44.51% 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 7.9:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 2.09.
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.345 |
Shades
#afa034 mixed progressively with black.
Tints
#afa034 mixed progressively with white.
Tones
#afa034 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afa034 {
color: #afa034;
}
.bg-afa034 {
background-color: #afa034;
color: #000000;
}
.border-afa034 {
border: 2px solid #afa034;
}
:root {
--color-primary: #afa034;
--color-primary-rgb: 175 160 52;
--color-primary-hsl: 53 54% 45%;
}
.gradient-afa034 {
background: linear-gradient(135deg, #afa034, #81af34);
}
.shadow-afa034 {
box-shadow: 0 8px 24px rgb(175 160 52 / 0.35);
}
Brass
#afa034 rgb(175, 160, 52) hsl(53, 54%, 45%) Brass
#3443af rgb(52, 67, 175) hsl(233, 54%, 45%) Persian Blue
#34afa0 rgb(52, 175, 160) hsl(173, 54%, 45%) Light Sea Green
#a034af rgb(160, 52, 175) hsl(293, 54%, 45%) Purpureus