#987E2A
Yellow
HEX
RGB
HSL
About #987E2A Yellow
#987E2A is a yellow color. In the RGB color model, it is composed of 152 red, 126 green, and 42 blue. In the HSL color space, it has a hue of 46°, saturation of 57%, and lightness of 38%.
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 #987E2A in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
46°
Hue
57%
Saturation
38%
Lightness
Yellow
Color Harmonies
Colors that work well with #987E2A based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #987E2A against white and black backgrounds.
Aa#987E2A on White
Contrast Ratio3.92:1
AA ✗AA Large ✓AAA ✗
Aa#987E2A on Black
Contrast Ratio5.35:1
AA ✓AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #987E2A across different color formats.
| Format | Value |
|---|---|
| HEX | #987E2A |
| RGB | rgb(152, 126, 42) |
| HSL | hsl(46, 57%, 38%) |
| RGB Decimal | 152, 126, 42 |
| RGB Percent | 59.6%, 49.4%, 16.5% |
| CMYK (approx.) | 0%, 17%, 72%, 40% |
Related Palettes
12 palettes using #987E2A or similar colors