COLOR #9F8942

HEX: #9F8942 RGB: (159,137,66)

Color info

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

RGB color model

#9F8942 color RGB value is (159,137,66).

RGB: (159,137,66) (62%, 54%, 26%)

RGB channels and saturation

R 159 of 255 = 62%
G 137 of 255 = 54%
B 66 of 255 = 26%

159
137
66

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

Portions of RGB colors in percentages

R + G + B = 159 + 137 + 66 = 362 (100%)
R 159 of 362 ~ 43.92%
G 137 of 362 ~ 37.85%
B 66 of 362 ~ 18.23'%

%43.92
%37.85
%18.23

CMYK color model

#9F8942 color CMYK value is (0,14,58,38).

  • cyan value is 0.00%
  • magenta value is 13.84%
  • yellow value is 58.49%
  • key color value is 37.65%

CMYK: (0,14,58,38)
C0M14Y58K38 (0%, 14%, 58%, 38%)
(0.00 / 0.14 / 0.58 / 0.38)

CMYK percentages

%0
%13.84
%58.49
%37.65

Codes

Color #9F8942 in popluar color models

9F 89 42
RGB 159 137 66
HSL 46° 41.33% 44.12%
HSB/HSV 46° 58.49% 62.35%
CMYK 0.00% 13.84% 58.49%
37.65%

Color #9F8942 in popluar number systems.

HEX 9F 89 42
Decimal 159 137 66
Binary 10011111 10001001 1000010
Octal 237 211 102

Shades and tints

Shades of #9F8942

#9F8942
(159,137,66)
#917D3C
(145,125,60)
#837136
(131,113,54)
#756530
(117,101,48)
#67592A
(103,89,42)
#594D24
(89,77,36)
#4B411E
(75,65,30)
#3D3518
(61,53,24)
#2F2912
(47,41,18)
#211D0C
(33,29,12)
#131106
(19,17,6)
#000000
(0,0,0)

Tints of #9F8942

#9F8942
(159,137,66)
#A79353
(167,147,83)
#AF9D64
(175,157,100)
#B7A775
(183,167,117)
#BFB186
(191,177,134)
#C7BB97
(199,187,151)
#CFC5A8
(207,197,168)
#D7CFB9
(215,207,185)
#DFD9CA
(223,217,202)
#E7E3DB
(231,227,219)
#EFEDEC
(239,237,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #9F8942 color. Also use rgb(159,137,66) instead hex code.

Text Font Color

.myTextColor { color: #9F8942; }

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

This text font color is #9F8942.

Background Color

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

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

This div background color is #9F8942.

Border color

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

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

This div border color is #9F8942.

Opacity

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

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

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

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

This text has shadow with #9F8942 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #9F8942.

Preview

Color preview on black background

This text has color #9F8942 on black background.


Color preview on white background

This text has color #9F8942 on white background.


Black color preview on #9F8942 background

This text has black color on #9F8942 background.


White color preview on #9F8942 background

This text has white color on #9F8942 background.


Related colors

Complementary color

Complementary color for #hex is #6076BD.


I love getcolorcode.com

Triadic colors

1 #429F89 and #89429F with #9F8942 are triadic colors.

2 #42899F and #899F42 with #9F8942 are triadic colors.