#a6a42e ≈ Brass
#a6a42e is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 65.1% red, 64.31% green and 18.04% blue; printed in CMYK it uses 0% cyan, 1.2% magenta, 72.29% yellow and 34.9% black. Its hue angle is 59°, with 56.6% saturation and 41.57% 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.97:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.26.
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.3486 |
Shades
#a6a42e mixed progressively with black.
Tints
#a6a42e mixed progressively with white.
Tones
#a6a42e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a6a42e {
color: #a6a42e;
}
.bg-a6a42e {
background-color: #a6a42e;
color: #000000;
}
.border-a6a42e {
border: 2px solid #a6a42e;
}
:root {
--color-primary: #a6a42e;
--color-primary-rgb: 166 164 46;
--color-primary-hsl: 59 57% 42%;
}
.gradient-a6a42e {
background: linear-gradient(135deg, #a6a42e, #6ca62e);
}
.shadow-a6a42e {
box-shadow: 0 8px 24px rgb(166 164 46 / 0.35);
}
Brass
#a6a42e rgb(166, 164, 46) hsl(59, 57%, 42%) Brass
#2e30a6 rgb(46, 48, 166) hsl(239, 57%, 42%) Egyptian Blue
#2ea6a4 rgb(46, 166, 164) hsl(179, 57%, 42%) Verdigris
#a42ea6 rgb(164, 46, 166) hsl(299, 57%, 42%) Purpureus