#b8ad3b ≈ Brass
#b8ad3b is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 72.16% red, 67.84% green and 23.14% blue; printed in CMYK it uses 0% cyan, 5.98% magenta, 67.93% yellow and 27.84% black. Its hue angle is 54.72°, with 51.44% saturation and 47.65% 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 9.08:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 2.63.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc9933 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.4039 |
Shades
#b8ad3b mixed progressively with black.
Tints
#b8ad3b mixed progressively with white.
Tones
#b8ad3b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b8ad3b {
color: #b8ad3b;
}
.bg-b8ad3b {
background-color: #b8ad3b;
color: #000000;
}
.border-b8ad3b {
border: 2px solid #b8ad3b;
}
:root {
--color-primary: #b8ad3b;
--color-primary-rgb: 184 173 59;
--color-primary-hsl: 55 51% 48%;
}
.gradient-b8ad3b {
background: linear-gradient(135deg, #b8ad3b, #85b83b);
}
.shadow-b8ad3b {
box-shadow: 0 8px 24px rgb(184 173 59 / 0.35);
}
Brass
#b8ad3b rgb(184, 173, 59) hsl(55, 51%, 48%) Brass
#3b46b8 rgb(59, 70, 184) hsl(235, 51%, 48%) Ocean Blue
#3bb8ad rgb(59, 184, 173) hsl(175, 51%, 48%) Light Sea Green
#ad3bb8 rgb(173, 59, 184) hsl(295, 51%, 48%) Purpureus