COLOR #5F8D42

HEX: #5F8D42
RGB: (95,141,66)

Color info

#5F8D42 contains mainly red and green colors. Web safe color of #5F8D42 is #669933 (or #693).

RGB color model

#5F8D42 color RGB value is (95,141,66).

  • red value is 95;
  • green value is 141;
  • blue value is 66.
RGB:
(95,141,66)
(37%,55%,26%)

RGB channels and saturation

R 95 of 255 = 37%
G 141 of 255 = 55%
B 66 of 255 = 26%

95
141
66

R + G + B ~ 39%. #5F8D42 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
95 + 141 + 66 = 302 (100%)
R 95 of 302 ~ 31.46%
G 141 of 302 ~ 46.69%
B 66 of 302 ~ 21.85%

%31.46
%46.69
%21.85

CMYK color model

#5F8D42 color CMYK value is (33,0,53,45).

  • cyan value is 32.62%
  • magenta value is 0.00%
  • yellow value is 53.19%
  • key color value is 44.71%
CMYK:
(33,0,53,45)
C33M0Y53K45 
(33%,0%,53%,45%)
(0.33/0.00/0.53/0.45)	

CMYK percentages

%32.62
%0
%53.19
%44.71

Codes

Color #5F8D42 in popluar color models

5F8D42
RGB9514166
HSL97°36.23%40.59%
HSB/HSV97°53.19%55.29%
CMYK32.62%0.00%53.19%
44.71%

Color #5F8D42 in popluar number systems.

HEX5F8D42
Decimal9514166
Binary1011111100011011000010
Octal137215102

Shades and tints

Shades of #5F8D42

#5F8D42
(95,141,66)
#57813C
(87,129,60)
#4F7536
(79,117,54)
#476930
(71,105,48)
#3F5D2A
(63,93,42)
#375124
(55,81,36)
#2F451E
(47,69,30)
#273918
(39,57,24)
#1F2D12
(31,45,18)
#17210C
(23,33,12)
#0F1506
(15,21,6)
#000000
(0,0,0)

Tints of #5F8D42

#5F8D42
(95,141,66)
#6D9753
(109,151,83)
#7BA164
(123,161,100)
#89AB75
(137,171,117)
#97B586
(151,181,134)
#A5BF97
(165,191,151)
#B3C9A8
(179,201,168)
#C1D3B9
(193,211,185)
#CFDDCA
(207,221,202)
#DDE7DB
(221,231,219)
#EBF1EC
(235,241,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5F8D42 color. Also use rgb(95,141,66) instead hex code.

Text Font Color

.myTextColor { color: #5F8D42; }

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

This text font color is #5F8D42.


Background Color

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

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

This div background color is #5F8D42.


Border color

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

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

This div border color is #5F8D42.


Opacity

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

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

Text with #5F8D42 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 #5F8D42;}

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

This text has shadow with #5F8D42 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5F8D42 on black background.


Color preview on white background

This text has color #5F8D42 on white background.



Black color preview on #5F8D42 background

This text has black color on #5F8D42 background.


White color preview on #5F8D42 background

This text has white color on #5F8D42 background.