COLOR #8C8A31

HEX: #8C8A31 RGB: (140,138,49)

Color info

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

RGB color model

#8C8A31 color RGB value is (140,138,49).

RGB: (140,138,49) (55%, 54%, 19%)

RGB channels and saturation

R 140 of 255 = 55%
G 138 of 255 = 54%
B 49 of 255 = 19%

140
138
49

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

Portions of RGB colors in percentages

R + G + B = 140 + 138 + 49 = 327 (100%)
R 140 of 327 ~ 42.81%
G 138 of 327 ~ 42.2%
B 49 of 327 ~ 14.98'%

%42.81
%42.2
%14.98

CMYK color model

#8C8A31 color CMYK value is (0,1,65,45).

  • cyan value is 0.00%
  • magenta value is 1.43%
  • yellow value is 65.00%
  • key color value is 45.10%

CMYK: (0,1,65,45)
C0M1Y65K45 (0%, 1%, 65%, 45%)
(0.00 / 0.01 / 0.65 / 0.45)

CMYK percentages

%0
%1.43
%65
%45.1

Codes

Color #8C8A31 in popluar color models

8C 8A 31
RGB 140 138 49
HSL 59° 48.15% 37.06%
HSB/HSV 59° 65.00% 54.90%
CMYK 0.00% 1.43% 65.00%
45.10%

Color #8C8A31 in popluar number systems.

HEX 8C 8A 31
Decimal 140 138 49
Binary 10001100 10001010 110001
Octal 214 212 61

Shades and tints

Shades of #8C8A31

#8C8A31
(140,138,49)
#807E2D
(128,126,45)
#747229
(116,114,41)
#686625
(104,102,37)
#5C5A21
(92,90,33)
#504E1D
(80,78,29)
#444219
(68,66,25)
#383615
(56,54,21)
#2C2A11
(44,42,17)
#201E0D
(32,30,13)
#141209
(20,18,9)
#000000
(0,0,0)

Tints of #8C8A31

#8C8A31
(140,138,49)
#969443
(150,148,67)
#A09E55
(160,158,85)
#AAA867
(170,168,103)
#B4B279
(180,178,121)
#BEBC8B
(190,188,139)
#C8C69D
(200,198,157)
#D2D0AF
(210,208,175)
#DCDAC1
(220,218,193)
#E6E4D3
(230,228,211)
#F0EEE5
(240,238,229)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8C8A31 color. Also use rgb(140,138,49) instead hex code.

Text Font Color

.myTextColor { color: #8C8A31; }

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

This text font color is #8C8A31.

Background Color

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

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

This div background color is #8C8A31.

Border color

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

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

This div border color is #8C8A31.

Opacity

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

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

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

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

This text has shadow with #8C8A31 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #8C8A31.

Preview

Color preview on black background

This text has color #8C8A31 on black background.


Color preview on white background

This text has color #8C8A31 on white background.


Black color preview on #8C8A31 background

This text has black color on #8C8A31 background.


White color preview on #8C8A31 background

This text has white color on #8C8A31 background.


Related colors

Complementary color

Complementary color for #hex is #7375CE.


I love getcolorcode.com

Triadic colors

1 #318C8A and #8A318C with #8C8A31 are triadic colors.

2 #318A8C and #8A8C31 with #8C8A31 are triadic colors.