COLOR #AFA71B

HEX: #AFA71B
RGB: (175,167,27)

Color info

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

RGB color model

#AFA71B color RGB value is (175,167,27).

  • red value is 175;
  • green value is 167;
  • blue value is 27.
RGB:
(175,167,27)
(69%,65%,11%)

RGB channels and saturation

R 175 of 255 = 69%
G 167 of 255 = 65%
B 27 of 255 = 11%

175
167
27

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

Portions of RGB colors in percentages

R + G + B =
175 + 167 + 27 = 369 (100%)
R 175 of 369 ~ 47.43%
G 167 of 369 ~ 45.26%
B 27 of 369 ~ 7.32%

%47.43
%45.26

CMYK color model

#AFA71B color CMYK value is (0,5,85,31).

  • cyan value is 0.00%
  • magenta value is 4.57%
  • yellow value is 84.57%
  • key color value is 31.37%
CMYK:
(0,5,85,31)
C0M5Y85K31 
(0%,5%,85%,31%)
(0.00/0.05/0.85/0.31)	

CMYK percentages

%0
%4.57
%84.57
%31.37

Codes

Color #AFA71B in popluar color models

AFA71B
RGB17516727
HSL57°73.27%39.61%
HSB/HSV57°84.57%68.63%
CMYK0.00%4.57%84.57%
31.37%

Color #AFA71B in popluar number systems.

HEXAFA71B
Decimal17516727
Binary101011111010011111011
Octal25724733

Shades and tints

Shades of #AFA71B

#AFA71B
(175,167,27)
#A09819
(160,152,25)
#918917
(145,137,23)
#827A15
(130,122,21)
#736B13
(115,107,19)
#645C11
(100,92,17)
#554D0F
(85,77,15)
#463E0D
(70,62,13)
#372F0B
(55,47,11)
#282009
(40,32,9)
#191107
(25,17,7)
#000000
(0,0,0)

Tints of #AFA71B

#AFA71B
(175,167,27)
#B6AF2F
(182,175,47)
#BDB743
(189,183,67)
#C4BF57
(196,191,87)
#CBC76B
(203,199,107)
#D2CF7F
(210,207,127)
#D9D793
(217,215,147)
#E0DFA7
(224,223,167)
#E7E7BB
(231,231,187)
#EEEFCF
(238,239,207)
#F5F7E3
(245,247,227)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #AFA71B color. Also use rgb(175,167,27) instead hex code.

Text Font Color

.myTextColor { color: #AFA71B; }

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

This text font color is #AFA71B.


Background Color

.myBgColor { background-color: #AFA71B; }

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

This div background color is #AFA71B.


Border color

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

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

This div border color is #AFA71B.


Opacity

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

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

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

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

This text has shadow with #AFA71B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AFA71B on black background.


Color preview on white background

This text has color #AFA71B on white background.



Black color preview on #AFA71B background

This text has black color on #AFA71B background.


White color preview on #AFA71B background

This text has white color on #AFA71B background.