#9fa02b ≈ Brass
#9fa02b is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 62.35% red, 62.75% green and 16.86% blue; printed in CMYK it uses 0.62% cyan, 0% magenta, 73.12% yellow and 37.25% black. Its hue angle is 60.51°, with 57.64% saturation and 39.8% 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.54:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 5.46.
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.3269 |
Shades
#9fa02b mixed progressively with black.
Tints
#9fa02b mixed progressively with white.
Tones
#9fa02b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-9fa02b {
color: #9fa02b;
}
.bg-9fa02b {
background-color: #9fa02b;
color: #000000;
}
.border-9fa02b {
border: 2px solid #9fa02b;
}
:root {
--color-primary: #9fa02b;
--color-primary-rgb: 159 160 43;
--color-primary-hsl: 61 58% 40%;
}
.gradient-9fa02b {
background: linear-gradient(135deg, #9fa02b, #64a02b);
}
.shadow-9fa02b {
box-shadow: 0 8px 24px rgb(159 160 43 / 0.35);
}
Brass
#9fa02b rgb(159, 160, 43) hsl(61, 58%, 40%) Brass
#2c2ba0 rgb(44, 43, 160) hsl(241, 58%, 40%) Imperial Blue
#2b9fa0 rgb(43, 159, 160) hsl(181, 58%, 40%) Cadet Blue
#a02b9f rgb(160, 43, 159) hsl(301, 58%, 40%) Dark Magenta