COLOR #A8AF51

HEX: #A8AF51
RGB: (168,175,81)

Color info

#A8AF51 contains mainly red and green colors. Web safe color of #A8AF51 is #999966 (or #996).

RGB color model

#A8AF51 color RGB value is (168,175,81).

  • red value is 168;
  • green value is 175;
  • blue value is 81.
RGB:
(168,175,81)
(66%,69%,32%)

RGB channels and saturation

R 168 of 255 = 66%
G 175 of 255 = 69%
B 81 of 255 = 32%

168
175
81

R + G + B ~ 56%. #A8AF51 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
168 + 175 + 81 = 424 (100%)
R 168 of 424 ~ 39.62%
G 175 of 424 ~ 41.27%
B 81 of 424 ~ 19.1%

%39.62
%41.27
%19.1

CMYK color model

#A8AF51 color CMYK value is (4,0,54,31).

  • cyan value is 4.00%
  • magenta value is 0.00%
  • yellow value is 53.71%
  • key color value is 31.37%
CMYK:
(4,0,54,31)
C4M0Y54K31 
(4%,0%,54%,31%)
(0.04/0.00/0.54/0.31)	

CMYK percentages

%4
%0
%53.71
%31.37

Codes

Color #A8AF51 in popluar color models

A8AF51
RGB16817581
HSL64°37.01%50.20%
HSB/HSV64°53.71%68.63%
CMYK4.00%0.00%53.71%
31.37%

Color #A8AF51 in popluar number systems.

HEXA8AF51
Decimal16817581
Binary10101000101011111010001
Octal250257121

Shades and tints

Shades of #A8AF51

#A8AF51
(168,175,81)
#99A04A
(153,160,74)
#8A9143
(138,145,67)
#7B823C
(123,130,60)
#6C7335
(108,115,53)
#5D642E
(93,100,46)
#4E5527
(78,85,39)
#3F4620
(63,70,32)
#303719
(48,55,25)
#212812
(33,40,18)
#12190B
(18,25,11)
#000000
(0,0,0)

Tints of #A8AF51

#A8AF51
(168,175,81)
#AFB660
(175,182,96)
#B6BD6F
(182,189,111)
#BDC47E
(189,196,126)
#C4CB8D
(196,203,141)
#CBD29C
(203,210,156)
#D2D9AB
(210,217,171)
#D9E0BA
(217,224,186)
#E0E7C9
(224,231,201)
#E7EED8
(231,238,216)
#EEF5E7
(238,245,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #A8AF51 color. Also use rgb(168,175,81) instead hex code.

Text Font Color

.myTextColor { color: #A8AF51; }

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

This text font color is #A8AF51.


Background Color

.myBgColor { background-color: #A8AF51; }

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

This div background color is #A8AF51.


Border color

.myBorderColor { border: 1px solid #A8AF51; }

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

This div border color is #A8AF51.


Opacity

.myOpacity80 { color: #A8AF51; opacity: 0.8; }

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

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

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

This text has shadow with #A8AF51 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #A8AF51 on black background.


Color preview on white background

This text has color #A8AF51 on white background.



Black color preview on #A8AF51 background

This text has black color on #A8AF51 background.


White color preview on #A8AF51 background

This text has white color on #A8AF51 background.