#afa00a ≈ Brass
#afa00a is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 68.63% red, 62.75% green and 3.92% blue; printed in CMYK it uses 0% cyan, 8.57% magenta, 94.29% yellow and 31.37% black. Its hue angle is 54.55°, with 89.19% saturation and 36.27% 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 7.86:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.48.
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.3428 |
Shades
#afa00a mixed progressively with black.
Tints
#afa00a mixed progressively with white.
Tones
#afa00a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afa00a {
color: #afa00a;
}
.bg-afa00a {
background-color: #afa00a;
color: #000000;
}
.border-afa00a {
border: 2px solid #afa00a;
}
:root {
--color-primary: #afa00a;
--color-primary-rgb: 175 160 10;
--color-primary-hsl: 55 89% 36%;
}
.gradient-afa00a {
background: linear-gradient(135deg, #afa00a, #6baf0a);
}
.shadow-afa00a {
box-shadow: 0 8px 24px rgb(175 160 10 / 0.35);
}
Brass
#afa00a rgb(175, 160, 10) hsl(55, 89%, 36%) Brass
#0a19af rgb(10, 25, 175) hsl(235, 89%, 36%) Zaffre
#0aafa0 rgb(10, 175, 160) hsl(175, 89%, 36%) Light Sea Green
#a00aaf rgb(160, 10, 175) hsl(295, 89%, 36%) Dark Violet