COLOR #5F8B2A

HEX: #5F8B2A
RGB: (95,139,42)

Color info

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

RGB color model

#5F8B2A color RGB value is (95,139,42).

  • red value is 95;
  • green value is 139;
  • blue value is 42.
RGB:
(95,139,42)
(37%,55%,16%)

RGB channels and saturation

R 95 of 255 = 37%
G 139 of 255 = 55%
B 42 of 255 = 16%

95
139
42

R + G + B ~ 36%. #5F8B2A is quite dark color.

Portions of RGB colors in percentages

R + G + B =
95 + 139 + 42 = 276 (100%)
R 95 of 276 ~ 34.42%
G 139 of 276 ~ 50.36%
B 42 of 276 ~ 15.22%

%34.42
%50.36
%15.22

CMYK color model

#5F8B2A color CMYK value is (32,0,70,45).

  • cyan value is 31.65%
  • magenta value is 0.00%
  • yellow value is 69.78%
  • key color value is 45.49%
CMYK:
(32,0,70,45)
C32M0Y70K45 
(32%,0%,70%,45%)
(0.32/0.00/0.70/0.45)	

CMYK percentages

%31.65
%0
%69.78
%45.49

Codes

Color #5F8B2A in popluar color models

5F8B2A
RGB9513942
HSL87°53.59%35.49%
HSB/HSV87°69.78%54.51%
CMYK31.65%0.00%69.78%
45.49%

Color #5F8B2A in popluar number systems.

HEX5F8B2A
Decimal9513942
Binary101111110001011101010
Octal13721352

Shades and tints

Shades of #5F8B2A

#5F8B2A
(95,139,42)
#577F27
(87,127,39)
#4F7324
(79,115,36)
#476721
(71,103,33)
#3F5B1E
(63,91,30)
#374F1B
(55,79,27)
#2F4318
(47,67,24)
#273715
(39,55,21)
#1F2B12
(31,43,18)
#171F0F
(23,31,15)
#0F130C
(15,19,12)
#000000
(0,0,0)

Tints of #5F8B2A

#5F8B2A
(95,139,42)
#6D953D
(109,149,61)
#7B9F50
(123,159,80)
#89A963
(137,169,99)
#97B376
(151,179,118)
#A5BD89
(165,189,137)
#B3C79C
(179,199,156)
#C1D1AF
(193,209,175)
#CFDBC2
(207,219,194)
#DDE5D5
(221,229,213)
#EBEFE8
(235,239,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5F8B2A color. Also use rgb(95,139,42) instead hex code.

Text Font Color

.myTextColor { color: #5F8B2A; }

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

This text font color is #5F8B2A.


Background Color

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

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

This div background color is #5F8B2A.


Border color

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

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

This div border color is #5F8B2A.


Opacity

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

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

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

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

This text has shadow with #5F8B2A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5F8B2A on black background.


Color preview on white background

This text has color #5F8B2A on white background.



Black color preview on #5F8B2A background

This text has black color on #5F8B2A background.


White color preview on #5F8B2A background

This text has white color on #5F8B2A background.