#afa02a ≈ Brass
#afa02a is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 68.63% red, 62.75% green and 16.47% blue; printed in CMYK it uses 0% cyan, 8.57% magenta, 76% yellow and 31.37% black. Its hue angle is 53.23°, with 61.29% saturation and 42.55% 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.88:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 2.77.
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.3442 |
Shades
#afa02a mixed progressively with black.
Tints
#afa02a mixed progressively with white.
Tones
#afa02a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afa02a {
color: #afa02a;
}
.bg-afa02a {
background-color: #afa02a;
color: #000000;
}
.border-afa02a {
border: 2px solid #afa02a;
}
:root {
--color-primary: #afa02a;
--color-primary-rgb: 175 160 42;
--color-primary-hsl: 53 61% 43%;
}
.gradient-afa02a {
background: linear-gradient(135deg, #afa02a, #7caf2a);
}
.shadow-afa02a {
box-shadow: 0 8px 24px rgb(175 160 42 / 0.35);
}
Brass
#afa02a rgb(175, 160, 42) hsl(53, 61%, 43%) Brass
#2a39af rgb(42, 57, 175) hsl(233, 61%, 43%) Persian Blue
#2aafa0 rgb(42, 175, 160) hsl(173, 61%, 43%) Light Sea Green
#a02aaf rgb(160, 42, 175) hsl(293, 61%, 43%) Dark Orchid