#9fa72f ≈ Brass
#9fa72f is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 62.35% red, 65.49% green and 18.43% blue; printed in CMYK it uses 4.79% cyan, 0% magenta, 71.86% yellow and 34.51% black. Its hue angle is 64°, with 56.07% saturation and 41.96% 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 8.04:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 6.49.
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.3521 |
Shades
#9fa72f mixed progressively with black.
Tints
#9fa72f mixed progressively with white.
Tones
#9fa72f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-9fa72f {
color: #9fa72f;
}
.bg-9fa72f {
background-color: #9fa72f;
color: #000000;
}
.border-9fa72f {
border: 2px solid #9fa72f;
}
:root {
--color-primary: #9fa72f;
--color-primary-rgb: 159 167 47;
--color-primary-hsl: 64 56% 42%;
}
.gradient-9fa72f {
background: linear-gradient(135deg, #9fa72f, #63a72f);
}
.shadow-9fa72f {
box-shadow: 0 8px 24px rgb(159 167 47 / 0.35);
}
Brass
#9fa72f rgb(159, 167, 47) hsl(64, 56%, 42%) Brass
#372fa7 rgb(55, 47, 167) hsl(244, 56%, 42%) Egyptian Blue
#2f9fa7 rgb(47, 159, 167) hsl(184, 56%, 42%) Cadet Blue
#a72f9f rgb(167, 47, 159) hsl(304, 56%, 42%) Purpureus