COLOR #5B8D1F

HEX: #5B8D1F
RGB: (91,141,31)

Color info

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

RGB color model

#5B8D1F color RGB value is (91,141,31).

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

RGB channels and saturation

R 91 of 255 = 36%
G 141 of 255 = 55%
B 31 of 255 = 12%

91
141
31

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

Portions of RGB colors in percentages

R + G + B =
91 + 141 + 31 = 263 (100%)
R 91 of 263 ~ 34.6%
G 141 of 263 ~ 53.61%
B 31 of 263 ~ 11.79%

%34.6
%53.61
%11.79

CMYK color model

#5B8D1F color CMYK value is (35,0,78,45).

  • cyan value is 35.46%
  • magenta value is 0.00%
  • yellow value is 78.01%
  • key color value is 44.71%
CMYK:
(35,0,78,45)
C35M0Y78K45 
(35%,0%,78%,45%)
(0.35/0.00/0.78/0.45)	

CMYK percentages

%35.46
%0
%78.01
%44.71

Codes

Color #5B8D1F in popluar color models

5B8D1F
RGB9114131
HSL87°63.95%33.73%
HSB/HSV87°78.01%55.29%
CMYK35.46%0.00%78.01%
44.71%

Color #5B8D1F in popluar number systems.

HEX5B8D1F
Decimal9114131
Binary10110111000110111111
Octal13321537

Shades and tints

Shades of #5B8D1F

#5B8D1F
(91,141,31)
#53811D
(83,129,29)
#4B751B
(75,117,27)
#436919
(67,105,25)
#3B5D17
(59,93,23)
#335115
(51,81,21)
#2B4513
(43,69,19)
#233911
(35,57,17)
#1B2D0F
(27,45,15)
#13210D
(19,33,13)
#0B150B
(11,21,11)
#000000
(0,0,0)

Tints of #5B8D1F

#5B8D1F
(91,141,31)
#699733
(105,151,51)
#77A147
(119,161,71)
#85AB5B
(133,171,91)
#93B56F
(147,181,111)
#A1BF83
(161,191,131)
#AFC997
(175,201,151)
#BDD3AB
(189,211,171)
#CBDDBF
(203,221,191)
#D9E7D3
(217,231,211)
#E7F1E7
(231,241,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5B8D1F; }

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

This text font color is #5B8D1F.


Background Color

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

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

This div background color is #5B8D1F.


Border color

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

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

This div border color is #5B8D1F.


Opacity

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

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

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

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

This text has shadow with #5B8D1F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5B8D1F on black background.


Color preview on white background

This text has color #5B8D1F on white background.



Black color preview on #5B8D1F background

This text has black color on #5B8D1F background.


White color preview on #5B8D1F background

This text has white color on #5B8D1F background.