COLOR #5B8A40

HEX: #5B8A40
RGB: (91,138,64)

Color info

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

RGB color model

#5B8A40 color RGB value is (91,138,64).

  • red value is 91;
  • green value is 138;
  • blue value is 64.
RGB:
(91,138,64)
(36%,54%,25%)

RGB channels and saturation

R 91 of 255 = 36%
G 138 of 255 = 54%
B 64 of 255 = 25%

91
138
64

R + G + B ~ 38%. #5B8A40 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
91 + 138 + 64 = 293 (100%)
R 91 of 293 ~ 31.06%
G 138 of 293 ~ 47.1%
B 64 of 293 ~ 21.84%

%31.06
%47.1
%21.84

CMYK color model

#5B8A40 color CMYK value is (34,0,54,46).

  • cyan value is 34.06%
  • magenta value is 0.00%
  • yellow value is 53.62%
  • key color value is 45.88%
CMYK:
(34,0,54,46)
C34M0Y54K46 
(34%,0%,54%,46%)
(0.34/0.00/0.54/0.46)	

CMYK percentages

%34.06
%0
%53.62
%45.88

Codes

Color #5B8A40 in popluar color models

5B8A40
RGB9113864
HSL98°36.63%39.61%
HSB/HSV98°53.62%54.12%
CMYK34.06%0.00%53.62%
45.88%

Color #5B8A40 in popluar number systems.

HEX5B8A40
Decimal9113864
Binary1011011100010101000000
Octal133212100

Shades and tints

Shades of #5B8A40

#5B8A40
(91,138,64)
#537E3B
(83,126,59)
#4B7236
(75,114,54)
#436631
(67,102,49)
#3B5A2C
(59,90,44)
#334E27
(51,78,39)
#2B4222
(43,66,34)
#23361D
(35,54,29)
#1B2A18
(27,42,24)
#131E13
(19,30,19)
#0B120E
(11,18,14)
#000000
(0,0,0)

Tints of #5B8A40

#5B8A40
(91,138,64)
#699451
(105,148,81)
#779E62
(119,158,98)
#85A873
(133,168,115)
#93B284
(147,178,132)
#A1BC95
(161,188,149)
#AFC6A6
(175,198,166)
#BDD0B7
(189,208,183)
#CBDAC8
(203,218,200)
#D9E4D9
(217,228,217)
#E7EEEA
(231,238,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5B8A40 color. Also use rgb(91,138,64) instead hex code.

Text Font Color

.myTextColor { color: #5B8A40; }

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

This text font color is #5B8A40.


Background Color

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

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

This div background color is #5B8A40.


Border color

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

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

This div border color is #5B8A40.


Opacity

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

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

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

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

This text has shadow with #5B8A40 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5B8A40 on black background.


Color preview on white background

This text has color #5B8A40 on white background.



Black color preview on #5B8A40 background

This text has black color on #5B8A40 background.


White color preview on #5B8A40 background

This text has white color on #5B8A40 background.