COLOR #5B8A57

HEX: #5B8A57
RGB: (91,138,87)

Color info

#5B8A57 contains red, green and blue colors in about the same proportion. Web safe color of #5B8A57 is #669966 (or #696).

RGB color model

#5B8A57 color RGB value is (91,138,87).

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

RGB channels and saturation

R 91 of 255 = 36%
G 138 of 255 = 54%
B 87 of 255 = 34%

91
138
87

R + G + B ~ 41%. #5B8A57 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
91 + 138 + 87 = 316 (100%)
R 91 of 316 ~ 28.8%
G 138 of 316 ~ 43.67%
B 87 of 316 ~ 27.53%

%28.8
%43.67
%27.53

CMYK color model

#5B8A57 color CMYK value is (34,0,37,46).

  • cyan value is 34.06%
  • magenta value is 0.00%
  • yellow value is 36.96%
  • key color value is 45.88%
CMYK:
(34,0,37,46)
C34M0Y37K46 
(34%,0%,37%,46%)
(0.34/0.00/0.37/0.46)	

CMYK percentages

%34.06
%0
%36.96
%45.88

Codes

Color #5B8A57 in popluar color models

5B8A57
RGB9113887
HSL115°22.67%44.12%
HSB/HSV115°36.96%54.12%
CMYK34.06%0.00%36.96%
45.88%

Color #5B8A57 in popluar number systems.

HEX5B8A57
Decimal9113887
Binary1011011100010101010111
Octal133212127

Shades and tints

Shades of #5B8A57

#5B8A57
(91,138,87)
#537E50
(83,126,80)
#4B7249
(75,114,73)
#436642
(67,102,66)
#3B5A3B
(59,90,59)
#334E34
(51,78,52)
#2B422D
(43,66,45)
#233626
(35,54,38)
#1B2A1F
(27,42,31)
#131E18
(19,30,24)
#0B1211
(11,18,17)
#000000
(0,0,0)

Tints of #5B8A57

#5B8A57
(91,138,87)
#699466
(105,148,102)
#779E75
(119,158,117)
#85A884
(133,168,132)
#93B293
(147,178,147)
#A1BCA2
(161,188,162)
#AFC6B1
(175,198,177)
#BDD0C0
(189,208,192)
#CBDACF
(203,218,207)
#D9E4DE
(217,228,222)
#E7EEED
(231,238,237)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5B8A57; }

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

This text font color is #5B8A57.


Background Color

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

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

This div background color is #5B8A57.


Border color

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

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

This div border color is #5B8A57.


Opacity

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

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

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

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

This text has shadow with #5B8A57 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5B8A57 on black background.


Color preview on white background

This text has color #5B8A57 on white background.



Black color preview on #5B8A57 background

This text has black color on #5B8A57 background.


White color preview on #5B8A57 background

This text has white color on #5B8A57 background.