#b8a54e ≈ Brass
#b8a54e is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 72.16% red, 64.71% green and 30.59% blue; printed in CMYK it uses 0% cyan, 10.33% magenta, 57.61% yellow and 27.84% black. Its hue angle is 49.25°, with 42.74% saturation and 51.37% 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.53:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 2.22.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc9966 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.3765 |
Shades
#b8a54e mixed progressively with black.
Tints
#b8a54e mixed progressively with white.
Tones
#b8a54e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b8a54e {
color: #b8a54e;
}
.bg-b8a54e {
background-color: #b8a54e;
color: #000000;
}
.border-b8a54e {
border: 2px solid #b8a54e;
}
:root {
--color-primary: #b8a54e;
--color-primary-rgb: 184 165 78;
--color-primary-hsl: 49 43% 51%;
}
.gradient-b8a54e {
background: linear-gradient(135deg, #b8a54e, #96b84e);
}
.shadow-b8a54e {
box-shadow: 0 8px 24px rgb(184 165 78 / 0.35);
}
Brass
#b8a54e rgb(184, 165, 78) hsl(49, 43%, 51%) Brass
#4e61b8 rgb(78, 97, 184) hsl(229, 43%, 51%) Royal Blue
#4eb8a5 rgb(78, 184, 165) hsl(169, 43%, 51%) Light Sea Green
#a54eb8 rgb(165, 78, 184) hsl(289, 43%, 51%) Purpureus