⤺ color picker

#1f3a08 Color Hex

Hex color #1f3a08, RGB(31, 58, 8) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #1f3a08 is a shade of green-yellow. In a RGB color space it is composed of 12.16% red, 22.75% green and 3.14% blue. In HSL notation it has 92.4° hue, 75.8% saturation and 12.9% lightness. The process color (CMYK) is combination of 46.55% cyan, 0% magenta, 86.21% yellow and 77.25% key (black). The closest short hexadecimal code of #1f3a08 is #130.

Color information

  • #1f3a08 is a shade of green-yellow.
  • Green is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 46.55%
    • Magenta: 0%
    • Yellow: 86.21%
    • Key color - black: 77.25%
  • In the HSL model coordinates are:
    • Hue: 92.4° degrees
    • Saturation: 75.8%
    • Lightness: 12.9%
  • The values in the RGB color space are:
    • Red: 31 (12.16%)
    • Green: 58 (22.75%)
    • Blue: 8 (3.14%)


C: 46.55%, M: 0%, Y: 86.21%, K: 77.25%
R: 31, G: 58, B: 8
H: 92.4°, S: 75.8%, L: 12.9%

Color harmonies

#1f3a08 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #1f3a08; }
.setBackgroundColor { background-color: #1f3a08; }

#1f3a08 text/font color

How to set font color?

<p style="color:#1f3a08">Font color is #1f3a08.</p>

Font color is #1f3a08.

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

#1f3a08 background color

How to set background color?

<div style="background-color:#1f3a08">Background color is #1f3a08.</div>

Background color is #1f3a08.

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