#afab54 ≈ Brass
#afab54 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 68.63% red, 67.06% green and 32.94% blue; printed in CMYK it uses 0% cyan, 2.29% magenta, 52% yellow and 31.37% black. Its hue angle is 57.36°, with 36.25% saturation and 50.78% 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.78:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.97.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #999966 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.3888 |
Shades
#afab54 mixed progressively with black.
Tints
#afab54 mixed progressively with white.
Tones
#afab54 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afab54 {
color: #afab54;
}
.bg-afab54 {
background-color: #afab54;
color: #000000;
}
.border-afab54 {
border: 2px solid #afab54;
}
:root {
--color-primary: #afab54;
--color-primary-rgb: 175 171 84;
--color-primary-hsl: 57 36% 51%;
}
.gradient-afab54 {
background: linear-gradient(135deg, #afab54, #85af54);
}
.shadow-afab54 {
box-shadow: 0 8px 24px rgb(175 171 84 / 0.35);
}
Brass
#afab54 rgb(175, 171, 84) hsl(57, 36%, 51%) Brass
#5458af rgb(84, 88, 175) hsl(237, 36%, 51%) Iris
#54afab rgb(84, 175, 171) hsl(177, 36%, 51%) Verdigris
#ab54af rgb(171, 84, 175) hsl(297, 36%, 51%) Purpureus