COLOR #5B8A1F

HEX: #5B8A1F
RGB: (91,138,31)

Color info

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

RGB color model

#5B8A1F color RGB value is (91,138,31).

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

RGB channels and saturation

R 91 of 255 = 36%
G 138 of 255 = 54%
B 31 of 255 = 12%

91
138
31

R + G + B ~ 34%. #5B8A1F is quite dark color.

Portions of RGB colors in percentages

R + G + B =
91 + 138 + 31 = 260 (100%)
R 91 of 260 ~ 35%
G 138 of 260 ~ 53.08%
B 31 of 260 ~ 11.92%

%35
%53.08
%11.92

CMYK color model

#5B8A1F color CMYK value is (34,0,78,46).

  • cyan value is 34.06%
  • magenta value is 0.00%
  • yellow value is 77.54%
  • key color value is 45.88%
CMYK:
(34,0,78,46)
C34M0Y78K46 
(34%,0%,78%,46%)
(0.34/0.00/0.78/0.46)	

CMYK percentages

%34.06
%0
%77.54
%45.88

Codes

Color #5B8A1F in popluar color models

5B8A1F
RGB9113831
HSL86°63.31%33.14%
HSB/HSV86°77.54%54.12%
CMYK34.06%0.00%77.54%
45.88%

Color #5B8A1F in popluar number systems.

HEX5B8A1F
Decimal9113831
Binary10110111000101011111
Octal13321237

Shades and tints

Shades of #5B8A1F

#5B8A1F
(91,138,31)
#537E1D
(83,126,29)
#4B721B
(75,114,27)
#436619
(67,102,25)
#3B5A17
(59,90,23)
#334E15
(51,78,21)
#2B4213
(43,66,19)
#233611
(35,54,17)
#1B2A0F
(27,42,15)
#131E0D
(19,30,13)
#0B120B
(11,18,11)
#000000
(0,0,0)

Tints of #5B8A1F

#5B8A1F
(91,138,31)
#699433
(105,148,51)
#779E47
(119,158,71)
#85A85B
(133,168,91)
#93B26F
(147,178,111)
#A1BC83
(161,188,131)
#AFC697
(175,198,151)
#BDD0AB
(189,208,171)
#CBDABF
(203,218,191)
#D9E4D3
(217,228,211)
#E7EEE7
(231,238,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5B8A1F; }

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

This text font color is #5B8A1F.


Background Color

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

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

This div background color is #5B8A1F.


Border color

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

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

This div border color is #5B8A1F.


Opacity

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

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

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

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

This text has shadow with #5B8A1F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5B8A1F on black background.


Color preview on white background

This text has color #5B8A1F on white background.



Black color preview on #5B8A1F background

This text has black color on #5B8A1F background.


White color preview on #5B8A1F background

This text has white color on #5B8A1F background.