#a1981f ≈ Brass
#a1981f is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 63.14% red, 59.61% green and 12.16% blue; printed in CMYK it uses 0% cyan, 5.59% magenta, 80.75% yellow and 36.86% black. Its hue angle is 55.85°, with 67.71% saturation and 37.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 7.03:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 5.45.
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.3013 |
Shades
#a1981f mixed progressively with black.
Tints
#a1981f mixed progressively with white.
Tones
#a1981f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a1981f {
color: #a1981f;
}
.bg-a1981f {
background-color: #a1981f;
color: #000000;
}
.border-a1981f {
border: 2px solid #a1981f;
}
:root {
--color-primary: #a1981f;
--color-primary-rgb: 161 152 31;
--color-primary-hsl: 56 68% 38%;
}
.gradient-a1981f {
background: linear-gradient(135deg, #a1981f, #69a11f);
}
.shadow-a1981f {
box-shadow: 0 8px 24px rgb(161 152 31 / 0.35);
}
Brass
#a1981f rgb(161, 152, 31) hsl(56, 68%, 38%) Brass
#1f28a1 rgb(31, 40, 161) hsl(236, 68%, 38%) Imperial Blue
#1fa198 rgb(31, 161, 152) hsl(176, 68%, 38%) Persian Green
#981fa1 rgb(152, 31, 161) hsl(296, 68%, 38%) Dark Magenta