⤺ color picker

#978e2e Color Hex

Hex color #978e2e, RGB(151, 142, 46) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #978e2e is a shade of yellow. In a RGB color space it is composed of 59.22% red, 55.69% green and 18.04% blue. In HSL notation it has 54.9° hue, 53.3% saturation and 38.6% lightness. The process color (CMYK) is combination of 0% cyan, 5.96% magenta, 69.54% yellow and 40.78% key (black). The closest short hexadecimal code of #978e2e is #982.

Color information

  • #978e2e is a shade of yellow.
  • Red is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 0%
    • Magenta: 5.96%
    • Yellow: 69.54%
    • Key color - black: 40.78%
  • In the HSL model coordinates are:
    • Hue: 54.9° degrees
    • Saturation: 53.3%
    • Lightness: 38.6%
  • The values in the RGB color space are:
    • Red: 151 (59.22%)
    • Green: 142 (55.69%)
    • Blue: 46 (18.04%)


C: 0%, M: 5.96%, Y: 69.54%, K: 40.78%
R: 151, G: 142, B: 46
H: 54.9°, S: 53.3%, L: 38.6%

Color harmonies

#978e2e color HTML and CSS codes

Example CSS code:

.setFontColor { color: #978e2e; }
.setBackgroundColor { background-color: #978e2e; }

#978e2e text/font color

How to set font color?

<p style="color:#978e2e">Font color is #978e2e.</p>

Font color is #978e2e.

Red was ruby, green was fluorescent, yellow was simply incandescent. Color was life. Color was everything. Color, you see, was the universal sign of magic.
- Tahereh Mafi, Furthermore

#978e2e background color

How to set background color?

<div style="background-color:#978e2e">Background color is #978e2e.</div>

Background color is #978e2e.

When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant