⤺ color picker

#8a9f8a Color Hex

Hex color #8a9f8a, RGB(138, 159, 138) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #8a9f8a is a shade of green. In a RGB color space it is composed of 54.12% red, 62.35% green and 54.12% blue. In HSL notation it has 120° hue, 9.9% saturation and 58.2% lightness. The process color (CMYK) is combination of 13.21% cyan, 0% magenta, 13.21% yellow and 37.65% key (black). The closest short hexadecimal code of #8a9f8a is #898.

Color information

  • #8a9f8a is a shade of green.
  • Green is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 13.21%
    • Magenta: 0%
    • Yellow: 13.21%
    • Key color - black: 37.65%
  • In the HSL model coordinates are:
    • Hue: 120° degrees
    • Saturation: 9.9%
    • Lightness: 58.2%
  • The values in the RGB color space are:
    • Red: 138 (54.12%)
    • Green: 159 (62.35%)
    • Blue: 138 (54.12%)


C: 13.21%, M: 0%, Y: 13.21%, K: 37.65%
R: 138, G: 159, B: 138
H: 120°, S: 9.9%, L: 58.2%

Color harmonies

#8a9f8a color HTML and CSS codes

Example CSS code:

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

#8a9f8a text/font color

How to set font color?

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

Font color is #8a9f8a.

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

#8a9f8a background color

How to set background color?

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

Background color is #8a9f8a.

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