COLOR #5F7E31

HEX: #5F7E31
RGB: (95,126,49)

Color info

#5F7E31 contains mainly red and green colors. Web safe color of #5F7E31 is #666633 (or #663).

RGB color model

#5F7E31 color RGB value is (95,126,49).

  • red value is 95;
  • green value is 126;
  • blue value is 49.
RGB:
(95,126,49)
(37%,49%,19%)

RGB channels and saturation

R 95 of 255 = 37%
G 126 of 255 = 49%
B 49 of 255 = 19%

95
126
49

R + G + B ~ 35%. #5F7E31 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
95 + 126 + 49 = 270 (100%)
R 95 of 270 ~ 35.19%
G 126 of 270 ~ 46.67%
B 49 of 270 ~ 18.15%

%35.19
%46.67
%18.15

CMYK color model

#5F7E31 color CMYK value is (25,0,61,51).

  • cyan value is 24.60%
  • magenta value is 0.00%
  • yellow value is 61.11%
  • key color value is 50.59%
CMYK:
(25,0,61,51)
C25M0Y61K51 
(25%,0%,61%,51%)
(0.25/0.00/0.61/0.51)	

CMYK percentages

%24.6
%0
%61.11
%50.59

Codes

Color #5F7E31 in popluar color models

5F7E31
RGB9512649
HSL84°44.00%34.31%
HSB/HSV84°61.11%49.41%
CMYK24.60%0.00%61.11%
50.59%

Color #5F7E31 in popluar number systems.

HEX5F7E31
Decimal9512649
Binary10111111111110110001
Octal13717661

Shades and tints

Shades of #5F7E31

#5F7E31
(95,126,49)
#57732D
(87,115,45)
#4F6829
(79,104,41)
#475D25
(71,93,37)
#3F5221
(63,82,33)
#37471D
(55,71,29)
#2F3C19
(47,60,25)
#273115
(39,49,21)
#1F2611
(31,38,17)
#171B0D
(23,27,13)
#0F1009
(15,16,9)
#000000
(0,0,0)

Tints of #5F7E31

#5F7E31
(95,126,49)
#6D8943
(109,137,67)
#7B9455
(123,148,85)
#899F67
(137,159,103)
#97AA79
(151,170,121)
#A5B58B
(165,181,139)
#B3C09D
(179,192,157)
#C1CBAF
(193,203,175)
#CFD6C1
(207,214,193)
#DDE1D3
(221,225,211)
#EBECE5
(235,236,229)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5F7E31 color. Also use rgb(95,126,49) instead hex code.

Text Font Color

.myTextColor { color: #5F7E31; }

<p style="color:#5F7E31">This sample text font color is #5F7E31.</p>

This text font color is #5F7E31.


Background Color

.myBgColor { background-color: #5F7E31; }

<div style="background-color:#5F7E31">Inner text</div>

This div background color is #5F7E31.


Border color

.myBorderColor { border: 1px solid #5F7E31; }

<div style="border:3px solid #5F7E31">Div</div>

This div border color is #5F7E31.


Opacity

.myOpacity80 { color: #5F7E31; opacity: 0.8; }

<p style="color:#5F7E31;opacity:0.8;">80%</p>

Text with #5F7E31 color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.

Background with opacity value 80%.

Background with opacity value 50%.

Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #5F7E31;}

<p style="text-shadow: 3px 3px 1px #5F7E31">Text here.</p>

This text has shadow with #5F7E31 color.

.textShadow {text-shadow: 3px 3px 1px #5F7E31, 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #5F7E31, 5px 5px 20px red">Text here.</p>

This text has shadow with #5F7E31 primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#5F7E31, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#5F7E31, Direction=45, Strength=4)">Text</p>

This text has shadow with #5F7E31 and red colors in old Internet Explorer.


Div box shadow color

/* css code */
.divShadow
{
  -moz-box-shadow:	1px 1px 3px 2px #5F7E31;
  -webkit-box-shadow:	1px 1px 3px 2px #5F7E31;
  box-shadow:		1px 1px 3px 2px #5F7E31;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #5F7E31;
-webkit-box-shadow: 1px 1px 3px 2px #5F7E31;
box-shadow:1px 1px 3px 2px #5F7E31;">
Div content here</div>
This div box has shadow with color #5F7E31.

Preview

Color preview on black background

This text has color #5F7E31 on black background.


Color preview on white background

This text has color #5F7E31 on white background.



Black color preview on #5F7E31 background

This text has black color on #5F7E31 background.


White color preview on #5F7E31 background

This text has white color on #5F7E31 background.