COLOR #8CAF31

HEX: #8CAF31 RGB: (140,175,49)

Color info

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

RGB color model

#8CAF31 color RGB value is (140,175,49).

RGB: (140,175,49) (55%, 69%, 19%)

RGB channels and saturation

R 140 of 255 = 55%
G 175 of 255 = 69%
B 49 of 255 = 19%

140
175
49

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

Portions of RGB colors in percentages

R + G + B = 140 + 175 + 49 = 364 (100%)
R 140 of 364 ~ 38.46%
G 175 of 364 ~ 48.08%
B 49 of 364 ~ 13.46'%

%38.46
%48.08
%13.46

CMYK color model

#8CAF31 color CMYK value is (20,0,72,31).

  • cyan value is 20.00%
  • magenta value is 0.00%
  • yellow value is 72.00%
  • key color value is 31.37%

CMYK: (20,0,72,31)
C20M0Y72K31 (20%, 0%, 72%, 31%)
(0.20 / 0.00 / 0.72 / 0.31)

CMYK percentages

%20
%0
%72
%31.37

Codes

Color #8CAF31 in popluar color models

8C AF 31
RGB 140 175 49
HSL 77° 56.25% 43.92%
HSB/HSV 77° 72.00% 68.63%
CMYK 20.00% 0.00% 72.00%
31.37%

Color #8CAF31 in popluar number systems.

HEX 8C AF 31
Decimal 140 175 49
Binary 10001100 10101111 110001
Octal 214 257 61

Shades and tints

Shades of #8CAF31

#8CAF31
(140,175,49)
#80A02D
(128,160,45)
#749129
(116,145,41)
#688225
(104,130,37)
#5C7321
(92,115,33)
#50641D
(80,100,29)
#445519
(68,85,25)
#384615
(56,70,21)
#2C3711
(44,55,17)
#20280D
(32,40,13)
#141909
(20,25,9)
#000000
(0,0,0)

Tints of #8CAF31

#8CAF31
(140,175,49)
#96B643
(150,182,67)
#A0BD55
(160,189,85)
#AAC467
(170,196,103)
#B4CB79
(180,203,121)
#BED28B
(190,210,139)
#C8D99D
(200,217,157)
#D2E0AF
(210,224,175)
#DCE7C1
(220,231,193)
#E6EED3
(230,238,211)
#F0F5E5
(240,245,229)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #8CAF31; }

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

This text font color is #8CAF31.

Background Color

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

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

This div background color is #8CAF31.

Border color

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

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

This div border color is #8CAF31.

Opacity

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

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

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

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

This text has shadow with #8CAF31 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #8CAF31.

Preview

Color preview on black background

This text has color #8CAF31 on black background.


Color preview on white background

This text has color #8CAF31 on white background.


Black color preview on #8CAF31 background

This text has black color on #8CAF31 background.


White color preview on #8CAF31 background

This text has white color on #8CAF31 background.


Related colors

Complementary color

Complementary color for #hex is #7350CE.


I love getcolorcode.com

Triadic colors

1 #318CAF and #AF318C with #8CAF31 are triadic colors.

2 #31AF8C and #AF8C31 with #8CAF31 are triadic colors.