COLOR #9F8B2A

HEX: #9F8B2A
RGB: (159,139,42)

Color info

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

RGB color model

#9F8B2A color RGB value is (159,139,42).

  • red value is 159;
  • green value is 139;
  • blue value is 42.
RGB:
(159,139,42)
(62%,55%,16%)

RGB channels and saturation

R 159 of 255 = 62%
G 139 of 255 = 55%
B 42 of 255 = 16%

159
139
42

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

Portions of RGB colors in percentages

R + G + B =
159 + 139 + 42 = 340 (100%)
R 159 of 340 ~ 46.76%
G 139 of 340 ~ 40.88%
B 42 of 340 ~ 12.35%

%46.76
%40.88
%12.35

CMYK color model

#9F8B2A color CMYK value is (0,13,74,38).

  • cyan value is 0.00%
  • magenta value is 12.58%
  • yellow value is 73.58%
  • key color value is 37.65%
CMYK:
(0,13,74,38)
C0M13Y74K38 
(0%,13%,74%,38%)
(0.00/0.13/0.74/0.38)	

CMYK percentages

%0
%12.58
%73.58
%37.65

Codes

Color #9F8B2A in popluar color models

9F8B2A
RGB15913942
HSL50°58.21%39.41%
HSB/HSV50°73.58%62.35%
CMYK0.00%12.58%73.58%
37.65%

Color #9F8B2A in popluar number systems.

HEX9F8B2A
Decimal15913942
Binary1001111110001011101010
Octal23721352

Shades and tints

Shades of #9F8B2A

#9F8B2A
(159,139,42)
#917F27
(145,127,39)
#837324
(131,115,36)
#756721
(117,103,33)
#675B1E
(103,91,30)
#594F1B
(89,79,27)
#4B4318
(75,67,24)
#3D3715
(61,55,21)
#2F2B12
(47,43,18)
#211F0F
(33,31,15)
#13130C
(19,19,12)
#000000
(0,0,0)

Tints of #9F8B2A

#9F8B2A
(159,139,42)
#A7953D
(167,149,61)
#AF9F50
(175,159,80)
#B7A963
(183,169,99)
#BFB376
(191,179,118)
#C7BD89
(199,189,137)
#CFC79C
(207,199,156)
#D7D1AF
(215,209,175)
#DFDBC2
(223,219,194)
#E7E5D5
(231,229,213)
#EFEFE8
(239,239,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #9F8B2A color. Also use rgb(159,139,42) instead hex code.

Text Font Color

.myTextColor { color: #9F8B2A; }

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

This text font color is #9F8B2A.


Background Color

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

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

This div background color is #9F8B2A.


Border color

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

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

This div border color is #9F8B2A.


Opacity

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

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

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

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

This text has shadow with #9F8B2A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9F8B2A on black background.


Color preview on white background

This text has color #9F8B2A on white background.



Black color preview on #9F8B2A background

This text has black color on #9F8B2A background.


White color preview on #9F8B2A background

This text has white color on #9F8B2A background.