#987A1F
Yellow
HEX
RGB
HSL
About #987A1F Yellow
#987A1F is a yellow color. In the RGB color model, it is composed of 152 red, 122 green, and 31 blue. In the HSL color space, it has a hue of 45°, saturation of 66%, and lightness of 36%.
This color has a low lightness value, making it a dark color great for text and bold accents. With moderate saturation, it appears balanced and versatile.
CSS Code & Gradients
Use #987A1F in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
45°
Hue
66%
Saturation
36%
Lightness
Yellow
Color Harmonies
Colors that work well with #987A1F based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #987A1F against white and black backgrounds.
Aa#987A1F on White
Contrast Ratio4.09:1
AA ✗AA Large ✓AAA ✗
Aa#987A1F on Black
Contrast Ratio5.14:1
AA ✓AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #987A1F across different color formats.
| Format | Value |
|---|---|
| HEX | #987A1F |
| RGB | rgb(152, 122, 31) |
| HSL | hsl(45, 66%, 36%) |
| RGB Decimal | 152, 122, 31 |
| RGB Percent | 59.6%, 47.8%, 12.2% |
| CMYK (approx.) | 0%, 20%, 80%, 40% |
Related Palettes
12 palettes using #987A1F or similar colors