#9fa331 ≈ Brass
#9fa331 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 62.35% red, 63.92% green and 19.22% blue; printed in CMYK it uses 2.45% cyan, 0% magenta, 69.94% yellow and 36.08% black. Its hue angle is 62.11°, with 53.77% 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.76:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 5.74.
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.3379 |
Shades
#9fa331 mixed progressively with black.
Tints
#9fa331 mixed progressively with white.
Tones
#9fa331 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-9fa331 {
color: #9fa331;
}
.bg-9fa331 {
background-color: #9fa331;
color: #000000;
}
.border-9fa331 {
border: 2px solid #9fa331;
}
:root {
--color-primary: #9fa331;
--color-primary-rgb: 159 163 49;
--color-primary-hsl: 62 54% 42%;
}
.gradient-9fa331 {
background: linear-gradient(135deg, #9fa331, #66a331);
}
.shadow-9fa331 {
box-shadow: 0 8px 24px rgb(159 163 49 / 0.35);
}
Brass
#9fa331 rgb(159, 163, 49) hsl(62, 54%, 42%) Brass
#3531a3 rgb(53, 49, 163) hsl(242, 54%, 42%) Egyptian Blue
#319fa3 rgb(49, 159, 163) hsl(182, 54%, 42%) Cadet Blue
#a3319f rgb(163, 49, 159) hsl(302, 54%, 42%) Purpureus