COLOR #9B8E21

HEX: #9B8E21
RGB: (155,142,33)

Color info

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

RGB color model

#9B8E21 color RGB value is (155,142,33).

  • red value is 155;
  • green value is 142;
  • blue value is 33.
RGB:
(155,142,33)
(61%,56%,13%)

RGB channels and saturation

R 155 of 255 = 61%
G 142 of 255 = 56%
B 33 of 255 = 13%

155
142
33

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

Portions of RGB colors in percentages

R + G + B =
155 + 142 + 33 = 330 (100%)
R 155 of 330 ~ 46.97%
G 142 of 330 ~ 43.03%
B 33 of 330 ~ 10%

%46.97
%43.03
%10

CMYK color model

#9B8E21 color CMYK value is (0,8,79,39).

  • cyan value is 0.00%
  • magenta value is 8.39%
  • yellow value is 78.71%
  • key color value is 39.22%
CMYK:
(0,8,79,39)
C0M8Y79K39 
(0%,8%,79%,39%)
(0.00/0.08/0.79/0.39)	

CMYK percentages

%0
%8.39
%78.71
%39.22

Codes

Color #9B8E21 in popluar color models

9B8E21
RGB15514233
HSL54°64.89%36.86%
HSB/HSV54°78.71%60.78%
CMYK0.00%8.39%78.71%
39.22%

Color #9B8E21 in popluar number systems.

HEX9B8E21
Decimal15514233
Binary1001101110001110100001
Octal23321641

Shades and tints

Shades of #9B8E21

#9B8E21
(155,142,33)
#8D821E
(141,130,30)
#7F761B
(127,118,27)
#716A18
(113,106,24)
#635E15
(99,94,21)
#555212
(85,82,18)
#47460F
(71,70,15)
#393A0C
(57,58,12)
#2B2E09
(43,46,9)
#1D2206
(29,34,6)
#0F1603
(15,22,3)
#000000
(0,0,0)

Tints of #9B8E21

#9B8E21
(155,142,33)
#A49835
(164,152,53)
#ADA249
(173,162,73)
#B6AC5D
(182,172,93)
#BFB671
(191,182,113)
#C8C085
(200,192,133)
#D1CA99
(209,202,153)
#DAD4AD
(218,212,173)
#E3DEC1
(227,222,193)
#ECE8D5
(236,232,213)
#F5F2E9
(245,242,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #9B8E21 color. Also use rgb(155,142,33) instead hex code.

Text Font Color

.myTextColor { color: #9B8E21; }

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

This text font color is #9B8E21.


Background Color

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

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

This div background color is #9B8E21.


Border color

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

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

This div border color is #9B8E21.


Opacity

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

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

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

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

This text has shadow with #9B8E21 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #9B8E21 on black background.


Color preview on white background

This text has color #9B8E21 on white background.



Black color preview on #9B8E21 background

This text has black color on #9B8E21 background.


White color preview on #9B8E21 background

This text has white color on #9B8E21 background.