⤺ color picker
0
Reddit

#8cb28c Color Hex

Hex color #8cb28c, RGB(140, 178, 140) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #8cb28c is a shade of green. In a RGB color space it is composed of 54.9% red, 69.8% green and 54.9% blue. In HSL notation it has 120° hue, 19.8% saturation and 62.4% lightness. The process color (CMYK) is combination of 21.35% cyan, 0% magenta, 21.35% yellow and 30.20% key (black). The closest short hexadecimal code of #8cb28c is #8b8.

Color information

  • #8cb28c is a shade of green.
  • Green is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 21.35%
    • Magenta: 0%
    • Yellow: 21.35%
    • Key color - black: 30.20%
  • In the HSL model coordinates are:
    • Hue: 120° degrees
    • Saturation: 19.8%
    • Lightness: 62.4%
  • The values in the RGB color space are:
    • Red: 140 (54.9%)
    • Green: 178 (69.8%)
    • Blue: 140 (54.9%)

Conversions

Hex:
#8cb28c
CMYK:
C: 21.35%, M: 0%, Y: 21.35%, K: 30.20%
RGB:
R: 140, G: 178, B: 140
HSL:
H: 120°, S: 19.8%, L: 62.4%

Color harmonies

#8cb28c color HTML and CSS codes

Example CSS code:

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

#8cb28c text/font color

How to set font color?

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

Font color is #8cb28c.

Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage

#8cb28c background color

How to set background color?

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

Background color is #8cb28c.

Compromise in colors is grey.
- Edi Rama