#afa92a ≈ Brass
#afa92a is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 68.63% red, 66.27% green and 16.47% blue; printed in CMYK it uses 0% cyan, 3.43% magenta, 76% yellow and 31.37% black. Its hue angle is 57.29°, 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 8.53:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.7.
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.3766 |
Shades
#afa92a mixed progressively with black.
Tints
#afa92a mixed progressively with white.
Tones
#afa92a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afa92a {
color: #afa92a;
}
.bg-afa92a {
background-color: #afa92a;
color: #000000;
}
.border-afa92a {
border: 2px solid #afa92a;
}
:root {
--color-primary: #afa92a;
--color-primary-rgb: 175 169 42;
--color-primary-hsl: 57 61% 43%;
}
.gradient-afa92a {
background: linear-gradient(135deg, #afa92a, #73af2a);
}
.shadow-afa92a {
box-shadow: 0 8px 24px rgb(175 169 42 / 0.35);
}
Brass
#afa92a rgb(175, 169, 42) hsl(57, 61%, 43%) Brass
#2a30af rgb(42, 48, 175) hsl(237, 61%, 43%) Egyptian Blue
#2aafa9 rgb(42, 175, 169) hsl(177, 61%, 43%) Light Sea Green
#a92aaf rgb(169, 42, 175) hsl(297, 61%, 43%) Purpureus