#9fa40f ≈ Brass
#9fa40f is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 62.35% red, 64.31% green and 5.88% blue; printed in CMYK it uses 3.05% cyan, 0% magenta, 90.85% yellow and 35.69% black. Its hue angle is 62.01°, with 83.24% saturation and 35.1% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 7.79:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 6.64.
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.3396 |
Shades
#9fa40f mixed progressively with black.
Tints
#9fa40f mixed progressively with white.
Tones
#9fa40f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-9fa40f {
color: #9fa40f;
}
.bg-9fa40f {
background-color: #9fa40f;
color: #000000;
}
.border-9fa40f {
border: 2px solid #9fa40f;
}
:root {
--color-primary: #9fa40f;
--color-primary-rgb: 159 164 15;
--color-primary-hsl: 62 83% 35%;
}
.gradient-9fa40f {
background: linear-gradient(135deg, #9fa40f, #55a40f);
}
.shadow-9fa40f {
box-shadow: 0 8px 24px rgb(159 164 15 / 0.35);
}
Brass
#9fa40f rgb(159, 164, 15) hsl(62, 83%, 35%) Brass
#140fa4 rgb(20, 15, 164) hsl(242, 83%, 35%) Zaffre
#0f9fa4 rgb(15, 159, 164) hsl(182, 83%, 35%) Cadet Blue
#a40f9f rgb(164, 15, 159) hsl(302, 83%, 35%) Dark Magenta