COLOR #8AAF47

HEX: #8AAF47
RGB: (138,175,71)

Color info

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

RGB color model

#8AAF47 color RGB value is (138,175,71).

  • red value is 138;
  • green value is 175;
  • blue value is 71.
RGB:
(138,175,71)
(54%,69%,28%)

RGB channels and saturation

R 138 of 255 = 54%
G 175 of 255 = 69%
B 71 of 255 = 28%

138
175
71

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

Portions of RGB colors in percentages

R + G + B =
138 + 175 + 71 = 384 (100%)
R 138 of 384 ~ 35.94%
G 175 of 384 ~ 45.57%
B 71 of 384 ~ 18.49%

%35.94
%45.57
%18.49

CMYK color model

#8AAF47 color CMYK value is (21,0,59,31).

  • cyan value is 21.14%
  • magenta value is 0.00%
  • yellow value is 59.43%
  • key color value is 31.37%
CMYK:
(21,0,59,31)
C21M0Y59K31 
(21%,0%,59%,31%)
(0.21/0.00/0.59/0.31)	

CMYK percentages

%21.14
%0
%59.43
%31.37

Codes

Color #8AAF47 in popluar color models

8AAF47
RGB13817571
HSL81°42.28%48.24%
HSB/HSV81°59.43%68.63%
CMYK21.14%0.00%59.43%
31.37%

Color #8AAF47 in popluar number systems.

HEX8AAF47
Decimal13817571
Binary10001010101011111000111
Octal212257107

Shades and tints

Shades of #8AAF47

#8AAF47
(138,175,71)
#7EA041
(126,160,65)
#72913B
(114,145,59)
#668235
(102,130,53)
#5A732F
(90,115,47)
#4E6429
(78,100,41)
#425523
(66,85,35)
#36461D
(54,70,29)
#2A3717
(42,55,23)
#1E2811
(30,40,17)
#12190B
(18,25,11)
#000000
(0,0,0)

Tints of #8AAF47

#8AAF47
(138,175,71)
#94B657
(148,182,87)
#9EBD67
(158,189,103)
#A8C477
(168,196,119)
#B2CB87
(178,203,135)
#BCD297
(188,210,151)
#C6D9A7
(198,217,167)
#D0E0B7
(208,224,183)
#DAE7C7
(218,231,199)
#E4EED7
(228,238,215)
#EEF5E7
(238,245,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8AAF47 color. Also use rgb(138,175,71) instead hex code.

Text Font Color

.myTextColor { color: #8AAF47; }

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

This text font color is #8AAF47.


Background Color

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

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

This div background color is #8AAF47.


Border color

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

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

This div border color is #8AAF47.


Opacity

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

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

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

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

This text has shadow with #8AAF47 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8AAF47 on black background.


Color preview on white background

This text has color #8AAF47 on white background.



Black color preview on #8AAF47 background

This text has black color on #8AAF47 background.


White color preview on #8AAF47 background

This text has white color on #8AAF47 background.