⤺ color picker
0
Reddit

#6c8c2d Color Hex

Hex color #6c8c2d, RGB(108, 140, 45) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #6c8c2d is a shade of green-yellow. In a RGB color space it is composed of 42.35% red, 54.9% green and 17.65% blue. In HSL notation it has 80.2° hue, 51.4% saturation and 36.3% lightness. The process color (CMYK) is combination of 22.86% cyan, 0% magenta, 67.86% yellow and 45.10% key (black). The closest short hexadecimal code of #6c8c2d is #682.

Color information

  • #6c8c2d is a shade of green-yellow.
  • Green is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 22.86%
    • Magenta: 0%
    • Yellow: 67.86%
    • Key color - black: 45.10%
  • In the HSL model coordinates are:
    • Hue: 80.2° degrees
    • Saturation: 51.4%
    • Lightness: 36.3%
  • The values in the RGB color space are:
    • Red: 108 (42.35%)
    • Green: 140 (54.9%)
    • Blue: 45 (17.65%)

Conversions

Hex:
#6c8c2d
CMYK:
C: 22.86%, M: 0%, Y: 67.86%, K: 45.10%
RGB:
R: 108, G: 140, B: 45
HSL:
H: 80.2°, S: 51.4%, L: 36.3%

Color harmonies

#6c8c2d color HTML and CSS codes

Example CSS code:

.setFontColor { color: #6c8c2d; }
.setBackgroundColor { background-color: #6c8c2d; }

#6c8c2d text/font color

How to set font color?

<p style="color:#6c8c2d">Font color is #6c8c2d.</p>

Font color is #6c8c2d.

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

#6c8c2d background color

How to set background color?

<div style="background-color:#6c8c2d">Background color is #6c8c2d.</div>

Background color is #6c8c2d.

Compromise in colors is grey.
- Edi Rama