#afa733 ≈ Brass
#afa733 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 68.63% red, 65.49% green and 20% blue; printed in CMYK it uses 0% cyan, 4.57% magenta, 70.86% yellow and 31.37% black. Its hue angle is 56.13°, with 54.87% saturation and 44.31% 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.4:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 2.65.
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.3699 |
Shades
#afa733 mixed progressively with black.
Tints
#afa733 mixed progressively with white.
Tones
#afa733 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afa733 {
color: #afa733;
}
.bg-afa733 {
background-color: #afa733;
color: #000000;
}
.border-afa733 {
border: 2px solid #afa733;
}
:root {
--color-primary: #afa733;
--color-primary-rgb: 175 167 51;
--color-primary-hsl: 56 55% 44%;
}
.gradient-afa733 {
background: linear-gradient(135deg, #afa733, #79af33);
}
.shadow-afa733 {
box-shadow: 0 8px 24px rgb(175 167 51 / 0.35);
}
Brass
#afa733 rgb(175, 167, 51) hsl(56, 55%, 44%) Brass
#333baf rgb(51, 59, 175) hsl(236, 55%, 44%) Persian Blue
#33afa7 rgb(51, 175, 167) hsl(176, 55%, 44%) Light Sea Green
#a733af rgb(167, 51, 175) hsl(296, 55%, 44%) Purpureus