#afa82c ≈ Brass
#afa82c is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 68.63% red, 65.88% green and 17.25% blue; printed in CMYK it uses 0% cyan, 4% magenta, 74.86% yellow and 31.37% black. Its hue angle is 56.79°, with 59.82% saturation and 42.94% 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.46:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.34.
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.373 |
Shades
#afa82c mixed progressively with black.
Tints
#afa82c mixed progressively with white.
Tones
#afa82c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afa82c {
color: #afa82c;
}
.bg-afa82c {
background-color: #afa82c;
color: #000000;
}
.border-afa82c {
border: 2px solid #afa82c;
}
:root {
--color-primary: #afa82c;
--color-primary-rgb: 175 168 44;
--color-primary-hsl: 57 60% 43%;
}
.gradient-afa82c {
background: linear-gradient(135deg, #afa82c, #75af2c);
}
.shadow-afa82c {
box-shadow: 0 8px 24px rgb(175 168 44 / 0.35);
}
Brass
#afa82c rgb(175, 168, 44) hsl(57, 60%, 43%) Brass
#2c33af rgb(44, 51, 175) hsl(237, 60%, 43%) Persian Blue
#2cafa8 rgb(44, 175, 168) hsl(177, 60%, 43%) Light Sea Green
#a82caf rgb(168, 44, 175) hsl(297, 60%, 43%) Purpureus