#afa53d ≈ Brass
#afa53d is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 68.63% red, 64.71% green and 23.92% blue; printed in CMYK it uses 0% cyan, 5.71% magenta, 65.14% yellow and 31.37% black. Its hue angle is 54.74°, with 48.31% saturation and 46.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 brand accents. Black text on this color reaches a contrast ratio of 8.27:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 1.63.
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.3636 |
Shades
#afa53d mixed progressively with black.
Tints
#afa53d mixed progressively with white.
Tones
#afa53d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afa53d {
color: #afa53d;
}
.bg-afa53d {
background-color: #afa53d;
color: #000000;
}
.border-afa53d {
border: 2px solid #afa53d;
}
:root {
--color-primary: #afa53d;
--color-primary-rgb: 175 165 61;
--color-primary-hsl: 55 48% 46%;
}
.gradient-afa53d {
background: linear-gradient(135deg, #afa53d, #80af3d);
}
.shadow-afa53d {
box-shadow: 0 8px 24px rgb(175 165 61 / 0.35);
}
Brass
#afa53d rgb(175, 165, 61) hsl(55, 48%, 46%) Brass
#3d47af rgb(61, 71, 175) hsl(235, 48%, 46%) Ocean Blue
#3dafa5 rgb(61, 175, 165) hsl(175, 48%, 46%) Light Sea Green
#a53daf rgb(165, 61, 175) hsl(295, 48%, 46%) Purpureus