#afa31e ≈ Brass
#afa31e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 68.63% red, 63.92% green and 11.76% blue; printed in CMYK it uses 0% cyan, 6.86% magenta, 82.86% yellow and 31.37% black. Its hue angle is 55.03°, with 70.73% saturation and 40.2% 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.08:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.54.
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.354 |
Shades
#afa31e mixed progressively with black.
Tints
#afa31e mixed progressively with white.
Tones
#afa31e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afa31e {
color: #afa31e;
}
.bg-afa31e {
background-color: #afa31e;
color: #000000;
}
.border-afa31e {
border: 2px solid #afa31e;
}
:root {
--color-primary: #afa31e;
--color-primary-rgb: 175 163 30;
--color-primary-hsl: 55 71% 40%;
}
.gradient-afa31e {
background: linear-gradient(135deg, #afa31e, #73af1e);
}
.shadow-afa31e {
box-shadow: 0 8px 24px rgb(175 163 30 / 0.35);
}
Brass
#afa31e rgb(175, 163, 30) hsl(55, 71%, 40%) Brass
#1e2aaf rgb(30, 42, 175) hsl(235, 71%, 40%) Egyptian Blue
#1eafa3 rgb(30, 175, 163) hsl(175, 71%, 40%) Light Sea Green
#a31eaf rgb(163, 30, 175) hsl(295, 71%, 40%) Dark Orchid