COLOR #9B8A1F

HEX: #9B8A1F
RGB: (155,138,31)

Color info

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

RGB color model

#9B8A1F color RGB value is (155,138,31).

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

RGB channels and saturation

R 155 of 255 = 61%
G 138 of 255 = 54%
B 31 of 255 = 12%

155
138
31

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

Portions of RGB colors in percentages

R + G + B =
155 + 138 + 31 = 324 (100%)
R 155 of 324 ~ 47.84%
G 138 of 324 ~ 42.59%
B 31 of 324 ~ 9.57%

%47.84
%42.59
%9.57

CMYK color model

#9B8A1F color CMYK value is (0,11,80,39).

  • cyan value is 0.00%
  • magenta value is 10.97%
  • yellow value is 80.00%
  • key color value is 39.22%
CMYK:
(0,11,80,39)
C0M11Y80K39 
(0%,11%,80%,39%)
(0.00/0.11/0.80/0.39)	

CMYK percentages

%0
%10.97
%80
%39.22

Codes

Color #9B8A1F in popluar color models

9B8A1F
RGB15513831
HSL52°66.67%36.47%
HSB/HSV52°80.00%60.78%
CMYK0.00%10.97%80.00%
39.22%

Color #9B8A1F in popluar number systems.

HEX9B8A1F
Decimal15513831
Binary100110111000101011111
Octal23321237

Shades and tints

Shades of #9B8A1F

#9B8A1F
(155,138,31)
#8D7E1D
(141,126,29)
#7F721B
(127,114,27)
#716619
(113,102,25)
#635A17
(99,90,23)
#554E15
(85,78,21)
#474213
(71,66,19)
#393611
(57,54,17)
#2B2A0F
(43,42,15)
#1D1E0D
(29,30,13)
#0F120B
(15,18,11)
#000000
(0,0,0)

Tints of #9B8A1F

#9B8A1F
(155,138,31)
#A49433
(164,148,51)
#AD9E47
(173,158,71)
#B6A85B
(182,168,91)
#BFB26F
(191,178,111)
#C8BC83
(200,188,131)
#D1C697
(209,198,151)
#DAD0AB
(218,208,171)
#E3DABF
(227,218,191)
#ECE4D3
(236,228,211)
#F5EEE7
(245,238,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #9B8A1F; }

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

This text font color is #9B8A1F.


Background Color

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

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

This div background color is #9B8A1F.


Border color

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

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

This div border color is #9B8A1F.


Opacity

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

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

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

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

This text has shadow with #9B8A1F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9B8A1F on black background.


Color preview on white background

This text has color #9B8A1F on white background.



Black color preview on #9B8A1F background

This text has black color on #9B8A1F background.


White color preview on #9B8A1F background

This text has white color on #9B8A1F background.