⤺ color picker
0
Reddit

#228b22 Color Hex (forest green)

Hex color #228b22, RGB(34, 139, 34) - also known as forest green - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #228b22 is a shade of green. In a RGB color space it is composed of 13.33% red, 54.51% green and 13.33% blue. In HSL notation it has 120° hue, 60.7% saturation and 33.9% lightness. The process color (CMYK) is combination of 75.54% cyan, 0% magenta, 75.54% yellow and 45.49% key (black). The closest short hexadecimal code of #228b22 is #282.

Color information

  • #228b22 is a shade of green.
  • Green is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 75.54%
    • Magenta: 0%
    • Yellow: 75.54%
    • Key color - black: 45.49%
  • In the HSL model coordinates are:
    • Hue: 120° degrees
    • Saturation: 60.7%
    • Lightness: 33.9%
  • The values in the RGB color space are:
    • Red: 34 (13.33%)
    • Green: 139 (54.51%)
    • Blue: 34 (13.33%)

Conversions

Hex:
#228b22
CMYK:
C: 75.54%, M: 0%, Y: 75.54%, K: 45.49%
RGB:
R: 34, G: 139, B: 34
HSL:
H: 120°, S: 60.7%, L: 33.9%

Color harmonies

#228b22 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #228b22; }
.setBackgroundColor { background-color: #228b22; }

#228b22 text/font color

How to set font color?

<p style="color:#228b22">Font color is #228b22.</p>

Font color is #228b22.

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

#228b22 background color

How to set background color?

<div style="background-color:#228b22">Background color is #228b22.</div>

Background color is #228b22.

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