#98a12e ≈ Brass
#98a12e is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 59.61% red, 63.14% green and 18.04% blue; printed in CMYK it uses 5.59% cyan, 0% magenta, 71.43% yellow and 36.86% black. Its hue angle is 64.7°, with 55.56% saturation and 40.59% 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.47:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 7.24.
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.3236 |
Shades
#98a12e mixed progressively with black.
Tints
#98a12e mixed progressively with white.
Tones
#98a12e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-98a12e {
color: #98a12e;
}
.bg-98a12e {
background-color: #98a12e;
color: #000000;
}
.border-98a12e {
border: 2px solid #98a12e;
}
:root {
--color-primary: #98a12e;
--color-primary-rgb: 152 161 46;
--color-primary-hsl: 65 56% 41%;
}
.gradient-98a12e {
background: linear-gradient(135deg, #98a12e, #5ea12e);
}
.shadow-98a12e {
box-shadow: 0 8px 24px rgb(152 161 46 / 0.35);
}
Brass
#98a12e rgb(152, 161, 46) hsl(65, 56%, 41%) Brass
#372ea1 rgb(55, 46, 161) hsl(245, 56%, 41%) Egyptian Blue
#2e98a1 rgb(46, 152, 161) hsl(185, 56%, 41%) Cadet Blue
#a12e98 rgb(161, 46, 152) hsl(305, 56%, 41%) Deep Plum