COLOR #A5B951

HEX: #A5B951
RGB: (165,185,81)

Color info

#A5B951 contains mainly red and green colors. Web safe color of #A5B951 is #99CC66 (or #9C6).

RGB color model

#A5B951 color RGB value is (165,185,81).

  • red value is 165;
  • green value is 185;
  • blue value is 81.
RGB:
(165,185,81)
(65%,73%,32%)

RGB channels and saturation

R 165 of 255 = 65%
G 185 of 255 = 73%
B 81 of 255 = 32%

165
185
81

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

Portions of RGB colors in percentages

R + G + B =
165 + 185 + 81 = 431 (100%)
R 165 of 431 ~ 38.28%
G 185 of 431 ~ 42.92%
B 81 of 431 ~ 18.79%

%38.28
%42.92
%18.79

CMYK color model

#A5B951 color CMYK value is (11,0,56,27).

  • cyan value is 10.81%
  • magenta value is 0.00%
  • yellow value is 56.22%
  • key color value is 27.45%
CMYK:
(11,0,56,27)
C11M0Y56K27 
(11%,0%,56%,27%)
(0.11/0.00/0.56/0.27)	

CMYK percentages

%10.81
%0
%56.22
%27.45

Codes

Color #A5B951 in popluar color models

A5B951
RGB16518581
HSL72°42.62%52.16%
HSB/HSV72°56.22%72.55%
CMYK10.81%0.00%56.22%
27.45%

Color #A5B951 in popluar number systems.

HEXA5B951
Decimal16518581
Binary10100101101110011010001
Octal245271121

Shades and tints

Shades of #A5B951

#A5B951
(165,185,81)
#96A94A
(150,169,74)
#879943
(135,153,67)
#78893C
(120,137,60)
#697935
(105,121,53)
#5A692E
(90,105,46)
#4B5927
(75,89,39)
#3C4920
(60,73,32)
#2D3919
(45,57,25)
#1E2912
(30,41,18)
#0F190B
(15,25,11)
#000000
(0,0,0)

Tints of #A5B951

#A5B951
(165,185,81)
#ADBF60
(173,191,96)
#B5C56F
(181,197,111)
#BDCB7E
(189,203,126)
#C5D18D
(197,209,141)
#CDD79C
(205,215,156)
#D5DDAB
(213,221,171)
#DDE3BA
(221,227,186)
#E5E9C9
(229,233,201)
#EDEFD8
(237,239,216)
#F5F5E7
(245,245,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #A5B951 color. Also use rgb(165,185,81) instead hex code.

Text Font Color

.myTextColor { color: #A5B951; }

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

This text font color is #A5B951.


Background Color

.myBgColor { background-color: #A5B951; }

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

This div background color is #A5B951.


Border color

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

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

This div border color is #A5B951.


Opacity

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

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

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

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

This text has shadow with #A5B951 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #A5B951 on black background.


Color preview on white background

This text has color #A5B951 on white background.



Black color preview on #A5B951 background

This text has black color on #A5B951 background.


White color preview on #A5B951 background

This text has white color on #A5B951 background.