COLOR #9F8E28

HEX: #9F8E28
RGB: (159,142,40)

Color info

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

RGB color model

#9F8E28 color RGB value is (159,142,40).

  • red value is 159;
  • green value is 142;
  • blue value is 40.
RGB:
(159,142,40)
(62%,56%,16%)

RGB channels and saturation

R 159 of 255 = 62%
G 142 of 255 = 56%
B 40 of 255 = 16%

159
142
40

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

Portions of RGB colors in percentages

R + G + B =
159 + 142 + 40 = 341 (100%)
R 159 of 341 ~ 46.63%
G 142 of 341 ~ 41.64%
B 40 of 341 ~ 11.73%

%46.63
%41.64
%11.73

CMYK color model

#9F8E28 color CMYK value is (0,11,75,38).

  • cyan value is 0.00%
  • magenta value is 10.69%
  • yellow value is 74.84%
  • key color value is 37.65%
CMYK:
(0,11,75,38)
C0M11Y75K38 
(0%,11%,75%,38%)
(0.00/0.11/0.75/0.38)	

CMYK percentages

%0
%10.69
%74.84
%37.65

Codes

Color #9F8E28 in popluar color models

9F8E28
RGB15914240
HSL51°59.80%39.02%
HSB/HSV51°74.84%62.35%
CMYK0.00%10.69%74.84%
37.65%

Color #9F8E28 in popluar number systems.

HEX9F8E28
Decimal15914240
Binary1001111110001110101000
Octal23721650

Shades and tints

Shades of #9F8E28

#9F8E28
(159,142,40)
#918225
(145,130,37)
#837622
(131,118,34)
#756A1F
(117,106,31)
#675E1C
(103,94,28)
#595219
(89,82,25)
#4B4616
(75,70,22)
#3D3A13
(61,58,19)
#2F2E10
(47,46,16)
#21220D
(33,34,13)
#13160A
(19,22,10)
#000000
(0,0,0)

Tints of #9F8E28

#9F8E28
(159,142,40)
#A7983B
(167,152,59)
#AFA24E
(175,162,78)
#B7AC61
(183,172,97)
#BFB674
(191,182,116)
#C7C087
(199,192,135)
#CFCA9A
(207,202,154)
#D7D4AD
(215,212,173)
#DFDEC0
(223,222,192)
#E7E8D3
(231,232,211)
#EFF2E6
(239,242,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #9F8E28 color. Also use rgb(159,142,40) instead hex code.

Text Font Color

.myTextColor { color: #9F8E28; }

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

This text font color is #9F8E28.


Background Color

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

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

This div background color is #9F8E28.


Border color

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

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

This div border color is #9F8E28.


Opacity

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

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

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

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

This text has shadow with #9F8E28 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9F8E28 on black background.


Color preview on white background

This text has color #9F8E28 on white background.



Black color preview on #9F8E28 background

This text has black color on #9F8E28 background.


White color preview on #9F8E28 background

This text has white color on #9F8E28 background.