COLOR #9B8A2F

HEX: #9B8A2F
RGB: (155,138,47)

Color info

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

RGB color model

#9B8A2F color RGB value is (155,138,47).

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

RGB channels and saturation

R 155 of 255 = 61%
G 138 of 255 = 54%
B 47 of 255 = 18%

155
138
47

R + G + B ~ 44%. #9B8A2F is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
155 + 138 + 47 = 340 (100%)
R 155 of 340 ~ 45.59%
G 138 of 340 ~ 40.59%
B 47 of 340 ~ 13.82%

%45.59
%40.59
%13.82

CMYK color model

#9B8A2F color CMYK value is (0,11,70,39).

  • cyan value is 0.00%
  • magenta value is 10.97%
  • yellow value is 69.68%
  • key color value is 39.22%
CMYK:
(0,11,70,39)
C0M11Y70K39 
(0%,11%,70%,39%)
(0.00/0.11/0.70/0.39)	

CMYK percentages

%0
%10.97
%69.68
%39.22

Codes

Color #9B8A2F in popluar color models

9B8A2F
RGB15513847
HSL51°53.47%39.61%
HSB/HSV51°69.68%60.78%
CMYK0.00%10.97%69.68%
39.22%

Color #9B8A2F in popluar number systems.

HEX9B8A2F
Decimal15513847
Binary1001101110001010101111
Octal23321257

Shades and tints

Shades of #9B8A2F

#9B8A2F
(155,138,47)
#8D7E2B
(141,126,43)
#7F7227
(127,114,39)
#716623
(113,102,35)
#635A1F
(99,90,31)
#554E1B
(85,78,27)
#474217
(71,66,23)
#393613
(57,54,19)
#2B2A0F
(43,42,15)
#1D1E0B
(29,30,11)
#0F1207
(15,18,7)
#000000
(0,0,0)

Tints of #9B8A2F

#9B8A2F
(155,138,47)
#A49441
(164,148,65)
#AD9E53
(173,158,83)
#B6A865
(182,168,101)
#BFB277
(191,178,119)
#C8BC89
(200,188,137)
#D1C69B
(209,198,155)
#DAD0AD
(218,208,173)
#E3DABF
(227,218,191)
#ECE4D1
(236,228,209)
#F5EEE3
(245,238,227)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #9B8A2F color. Also use rgb(155,138,47) instead hex code.

Text Font Color

.myTextColor { color: #9B8A2F; }

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

This text font color is #9B8A2F.


Background Color

.myBgColor { background-color: #9B8A2F; }

<div style="background-color:#9B8A2F">Inner text</div>

This div background color is #9B8A2F.


Border color

.myBorderColor { border: 1px solid #9B8A2F; }

<div style="border:3px solid #9B8A2F">Div</div>

This div border color is #9B8A2F.


Opacity

.myOpacity80 { color: #9B8A2F; opacity: 0.8; }

<p style="color:#9B8A2F;opacity:0.8;">80%</p>

Text with #9B8A2F 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 #9B8A2F;}

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

This text has shadow with #9B8A2F color.

.textShadow {text-shadow: 3px 3px 1px #9B8A2F, 3px 3px 1px red;}

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

This text has shadow with #9B8A2F primary color and red secondary color.


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

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

This text has shadow with #9B8A2F and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9B8A2F on black background.


Color preview on white background

This text has color #9B8A2F on white background.



Black color preview on #9B8A2F background

This text has black color on #9B8A2F background.


White color preview on #9B8A2F background

This text has white color on #9B8A2F background.