#afab2e ≈ Brass
#afab2e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 68.63% red, 67.06% green and 18.04% blue; printed in CMYK it uses 0% cyan, 2.29% magenta, 73.71% yellow and 31.37% black. Its hue angle is 58.14°, with 58.37% saturation and 43.33% 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.69:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.01.
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.3844 |
Shades
#afab2e mixed progressively with black.
Tints
#afab2e mixed progressively with white.
Tones
#afab2e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afab2e {
color: #afab2e;
}
.bg-afab2e {
background-color: #afab2e;
color: #000000;
}
.border-afab2e {
border: 2px solid #afab2e;
}
:root {
--color-primary: #afab2e;
--color-primary-rgb: 175 171 46;
--color-primary-hsl: 58 58% 43%;
}
.gradient-afab2e {
background: linear-gradient(135deg, #afab2e, #72af2e);
}
.shadow-afab2e {
box-shadow: 0 8px 24px rgb(175 171 46 / 0.35);
}
Brass
#afab2e rgb(175, 171, 46) hsl(58, 58%, 43%) Brass
#2e32af rgb(46, 50, 175) hsl(238, 58%, 43%) Persian Blue
#2eafab rgb(46, 175, 171) hsl(178, 58%, 43%) Verdigris
#ab2eaf rgb(171, 46, 175) hsl(298, 58%, 43%) Purpureus