COLOR #8C981F

HEX: #8C981F
RGB: (140,152,31)

Color info

#8C981F contains mainly red and green colors. Web safe color of #8C981F is #999933 (or #993).

RGB color model

#8C981F color RGB value is (140,152,31).

  • red value is 140;
  • green value is 152;
  • blue value is 31.
RGB:
(140,152,31)
(55%,60%,12%)

RGB channels and saturation

R 140 of 255 = 55%
G 152 of 255 = 60%
B 31 of 255 = 12%

140
152
31

R + G + B ~ 42%. #8C981F is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
140 + 152 + 31 = 323 (100%)
R 140 of 323 ~ 43.34%
G 152 of 323 ~ 47.06%
B 31 of 323 ~ 9.6%

%43.34
%47.06
%9.6

CMYK color model

#8C981F color CMYK value is (8,0,80,40).

  • cyan value is 7.89%
  • magenta value is 0.00%
  • yellow value is 79.61%
  • key color value is 40.39%
CMYK:
(8,0,80,40)
C8M0Y80K40 
(8%,0%,80%,40%)
(0.08/0.00/0.80/0.40)	

CMYK percentages

%7.89
%0
%79.61
%40.39

Codes

Color #8C981F in popluar color models

8C981F
RGB14015231
HSL66°66.12%35.88%
HSB/HSV66°79.61%59.61%
CMYK7.89%0.00%79.61%
40.39%

Color #8C981F in popluar number systems.

HEX8C981F
Decimal14015231
Binary100011001001100011111
Octal21423037

Shades and tints

Shades of #8C981F

#8C981F
(140,152,31)
#808B1D
(128,139,29)
#747E1B
(116,126,27)
#687119
(104,113,25)
#5C6417
(92,100,23)
#505715
(80,87,21)
#444A13
(68,74,19)
#383D11
(56,61,17)
#2C300F
(44,48,15)
#20230D
(32,35,13)
#14160B
(20,22,11)
#000000
(0,0,0)

Tints of #8C981F

#8C981F
(140,152,31)
#96A133
(150,161,51)
#A0AA47
(160,170,71)
#AAB35B
(170,179,91)
#B4BC6F
(180,188,111)
#BEC583
(190,197,131)
#C8CE97
(200,206,151)
#D2D7AB
(210,215,171)
#DCE0BF
(220,224,191)
#E6E9D3
(230,233,211)
#F0F2E7
(240,242,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8C981F color. Also use rgb(140,152,31) instead hex code.

Text Font Color

.myTextColor { color: #8C981F; }

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

This text font color is #8C981F.


Background Color

.myBgColor { background-color: #8C981F; }

<div style="background-color:#8C981F">Inner text</div>

This div background color is #8C981F.


Border color

.myBorderColor { border: 1px solid #8C981F; }

<div style="border:3px solid #8C981F">Div</div>

This div border color is #8C981F.


Opacity

.myOpacity80 { color: #8C981F; opacity: 0.8; }

<p style="color:#8C981F;opacity:0.8;">80%</p>

Text with #8C981F 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 #8C981F;}

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

This text has shadow with #8C981F color.

.textShadow {text-shadow: 3px 3px 1px #8C981F, 3px 3px 1px red;}

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

This text has shadow with #8C981F primary color and red secondary color.


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

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

This text has shadow with #8C981F and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8C981F on black background.


Color preview on white background

This text has color #8C981F on white background.



Black color preview on #8C981F background

This text has black color on #8C981F background.


White color preview on #8C981F background

This text has white color on #8C981F background.