⤺ color picker

#8f872b Color Hex

Hex color #8f872b, RGB(143, 135, 43) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #8f872b is a shade of yellow. In a RGB color space it is composed of 56.08% red, 52.94% green and 16.86% blue. In HSL notation it has 55.2° hue, 53.8% saturation and 36.5% lightness. The process color (CMYK) is combination of 0% cyan, 5.59% magenta, 69.93% yellow and 43.92% key (black). The closest short hexadecimal code of #8f872b is #882.

Color information

  • #8f872b is a shade of yellow.
  • Red is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 0%
    • Magenta: 5.59%
    • Yellow: 69.93%
    • Key color - black: 43.92%
  • In the HSL model coordinates are:
    • Hue: 55.2° degrees
    • Saturation: 53.8%
    • Lightness: 36.5%
  • The values in the RGB color space are:
    • Red: 143 (56.08%)
    • Green: 135 (52.94%)
    • Blue: 43 (16.86%)


C: 0%, M: 5.59%, Y: 69.93%, K: 43.92%
R: 143, G: 135, B: 43
H: 55.2°, S: 53.8%, L: 36.5%

Color harmonies

#8f872b color HTML and CSS codes

Example CSS code:

.setFontColor { color: #8f872b; }
.setBackgroundColor { background-color: #8f872b; }

#8f872b text/font color

How to set font color?

<p style="color:#8f872b">Font color is #8f872b.</p>

Font color is #8f872b.

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

#8f872b background color

How to set background color?

<div style="background-color:#8f872b">Background color is #8f872b.</div>

Background color is #8f872b.

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