#a2940f ≈ Brass
#a2940f is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 63.53% red, 58.04% green and 5.88% blue; printed in CMYK it uses 0% cyan, 8.64% magenta, 90.74% yellow and 36.47% black. Its hue angle is 54.29°, with 83.05% saturation and 34.71% 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 corporate identities. Black text on this color reaches a contrast ratio of 6.78:1 (WCAG AA). The closest named color is Brass (#b5a642), ΔE 6.42.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #999900 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.289 |
Shades
#a2940f mixed progressively with black.
Tints
#a2940f mixed progressively with white.
Tones
#a2940f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a2940f {
color: #a2940f;
}
.bg-a2940f {
background-color: #a2940f;
color: #000000;
}
.border-a2940f {
border: 2px solid #a2940f;
}
:root {
--color-primary: #a2940f;
--color-primary-rgb: 162 148 15;
--color-primary-hsl: 54 83% 35%;
}
.gradient-a2940f {
background: linear-gradient(135deg, #a2940f, #67a20f);
}
.shadow-a2940f {
box-shadow: 0 8px 24px rgb(162 148 15 / 0.35);
}
Brass
#a2940f rgb(162, 148, 15) hsl(54, 83%, 35%) Brass
#0f1da2 rgb(15, 29, 162) hsl(234, 83%, 35%) Zaffre
#0fa294 rgb(15, 162, 148) hsl(174, 83%, 35%) Persian Green
#940fa2 rgb(148, 15, 162) hsl(294, 83%, 35%) Dark Magenta