COLOR #AFC397

HEX: #AFC397
RGB: (175,195,151)

Color info

#AFC397 contains red, green and blue colors in about the same proportion. Web safe color of #AFC397 is #99CC99 (or #9C9).

RGB color model

#AFC397 color RGB value is (175,195,151).

  • red value is 175;
  • green value is 195;
  • blue value is 151.
RGB:
(175,195,151)
(69%,76%,59%)

RGB channels and saturation

R 175 of 255 = 69%
G 195 of 255 = 76%
B 151 of 255 = 59%

175
195
151

R + G + B ~ 68%. #AFC397 is quite light color.

Portions of RGB colors in percentages

R + G + B =
175 + 195 + 151 = 521 (100%)
R 175 of 521 ~ 33.59%
G 195 of 521 ~ 37.43%
B 151 of 521 ~ 28.98%

%33.59
%37.43
%28.98

CMYK color model

#AFC397 color CMYK value is (10,0,23,24).

  • cyan value is 10.26%
  • magenta value is 0.00%
  • yellow value is 22.56%
  • key color value is 23.53%
CMYK:
(10,0,23,24)
C10M0Y23K24 
(10%,0%,23%,24%)
(0.10/0.00/0.23/0.24)	

CMYK percentages

%10.26
%0
%22.56
%23.53

Codes

Color #AFC397 in popluar color models

AFC397
RGB175195151
HSL87°26.83%67.84%
HSB/HSV87°22.56%76.47%
CMYK10.26%0.00%22.56%
23.53%

Color #AFC397 in popluar number systems.

HEXAFC397
Decimal175195151
Binary101011111100001110010111
Octal257303227

Shades and tints

Shades of #AFC397

#AFC397
(175,195,151)
#A0B28A
(160,178,138)
#91A17D
(145,161,125)
#829070
(130,144,112)
#737F63
(115,127,99)
#646E56
(100,110,86)
#555D49
(85,93,73)
#464C3C
(70,76,60)
#373B2F
(55,59,47)
#282A22
(40,42,34)
#191915
(25,25,21)
#000000
(0,0,0)

Tints of #AFC397

#AFC397
(175,195,151)
#B6C8A0
(182,200,160)
#BDCDA9
(189,205,169)
#C4D2B2
(196,210,178)
#CBD7BB
(203,215,187)
#D2DCC4
(210,220,196)
#D9E1CD
(217,225,205)
#E0E6D6
(224,230,214)
#E7EBDF
(231,235,223)
#EEF0E8
(238,240,232)
#F5F5F1
(245,245,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #AFC397 color. Also use rgb(175,195,151) instead hex code.

Text Font Color

.myTextColor { color: #AFC397; }

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

This text font color is #AFC397.


Background Color

.myBgColor { background-color: #AFC397; }

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

This div background color is #AFC397.


Border color

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

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

This div border color is #AFC397.


Opacity

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

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

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

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

This text has shadow with #AFC397 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AFC397 on black background.


Color preview on white background

This text has color #AFC397 on white background.



Black color preview on #AFC397 background

This text has black color on #AFC397 background.


White color preview on #AFC397 background

This text has white color on #AFC397 background.