COLOR #8A9B51

HEX: #8A9B51
RGB: (138,155,81)

Color info

#8A9B51 contains mainly red and green colors. Web safe color of #8A9B51 is #999966 (or #996).

RGB color model

#8A9B51 color RGB value is (138,155,81).

  • red value is 138;
  • green value is 155;
  • blue value is 81.
RGB:
(138,155,81)
(54%,61%,32%)

RGB channels and saturation

R 138 of 255 = 54%
G 155 of 255 = 61%
B 81 of 255 = 32%

138
155
81

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

Portions of RGB colors in percentages

R + G + B =
138 + 155 + 81 = 374 (100%)
R 138 of 374 ~ 36.9%
G 155 of 374 ~ 41.44%
B 81 of 374 ~ 21.66%

%36.9
%41.44
%21.66

CMYK color model

#8A9B51 color CMYK value is (11,0,48,39).

  • cyan value is 10.97%
  • magenta value is 0.00%
  • yellow value is 47.74%
  • key color value is 39.22%
CMYK:
(11,0,48,39)
C11M0Y48K39 
(11%,0%,48%,39%)
(0.11/0.00/0.48/0.39)	

CMYK percentages

%10.97
%0
%47.74
%39.22

Codes

Color #8A9B51 in popluar color models

8A9B51
RGB13815581
HSL74°31.36%46.27%
HSB/HSV74°47.74%60.78%
CMYK10.97%0.00%47.74%
39.22%

Color #8A9B51 in popluar number systems.

HEX8A9B51
Decimal13815581
Binary10001010100110111010001
Octal212233121

Shades and tints

Shades of #8A9B51

#8A9B51
(138,155,81)
#7E8D4A
(126,141,74)
#727F43
(114,127,67)
#66713C
(102,113,60)
#5A6335
(90,99,53)
#4E552E
(78,85,46)
#424727
(66,71,39)
#363920
(54,57,32)
#2A2B19
(42,43,25)
#1E1D12
(30,29,18)
#120F0B
(18,15,11)
#000000
(0,0,0)

Tints of #8A9B51

#8A9B51
(138,155,81)
#94A460
(148,164,96)
#9EAD6F
(158,173,111)
#A8B67E
(168,182,126)
#B2BF8D
(178,191,141)
#BCC89C
(188,200,156)
#C6D1AB
(198,209,171)
#D0DABA
(208,218,186)
#DAE3C9
(218,227,201)
#E4ECD8
(228,236,216)
#EEF5E7
(238,245,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8A9B51 color. Also use rgb(138,155,81) instead hex code.

Text Font Color

.myTextColor { color: #8A9B51; }

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

This text font color is #8A9B51.


Background Color

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

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

This div background color is #8A9B51.


Border color

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

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

This div border color is #8A9B51.


Opacity

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

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

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

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

This text has shadow with #8A9B51 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8A9B51 on black background.


Color preview on white background

This text has color #8A9B51 on white background.



Black color preview on #8A9B51 background

This text has black color on #8A9B51 background.


White color preview on #8A9B51 background

This text has white color on #8A9B51 background.