⤺ color picker

#879a2f Color Hex

Hex color #879a2f, RGB(135, 154, 47) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #879a2f is a shade of yellow. In a RGB color space it is composed of 52.94% red, 60.39% green and 18.43% blue. In HSL notation it has 70.7° hue, 53.2% saturation and 39.4% lightness. The process color (CMYK) is combination of 12.34% cyan, 0% magenta, 69.48% yellow and 39.61% key (black). The closest short hexadecimal code of #879a2f is #892.

Color information

  • #879a2f is a shade of yellow.
  • Green is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 12.34%
    • Magenta: 0%
    • Yellow: 69.48%
    • Key color - black: 39.61%
  • In the HSL model coordinates are:
    • Hue: 70.7° degrees
    • Saturation: 53.2%
    • Lightness: 39.4%
  • The values in the RGB color space are:
    • Red: 135 (52.94%)
    • Green: 154 (60.39%)
    • Blue: 47 (18.43%)


C: 12.34%, M: 0%, Y: 69.48%, K: 39.61%
R: 135, G: 154, B: 47
H: 70.7°, S: 53.2%, L: 39.4%

Color harmonies

#879a2f color HTML and CSS codes

Example CSS code:

.setFontColor { color: #879a2f; }
.setBackgroundColor { background-color: #879a2f; }

#879a2f text/font color

How to set font color?

<p style="color:#879a2f">Font color is #879a2f.</p>

Font color is #879a2f.

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

#879a2f background color

How to set background color?

<div style="background-color:#879a2f">Background color is #879a2f.</div>

Background color is #879a2f.

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