Color: #AFA78C

#AFA78C Color Information

#AFA78C is a light color. The closest websafe version is #AFA78C. A complement of this color would be #8D95B0, perceived brightness is 0.65, and the grayscale version is #9D9D9D.

In the HSL color space, this color has a hue angle of 46°,a saturation of 18%, and a lightness of 62%.The HSV representation shows a hue of 46°, a saturation of 20%, and a value of 69%.

In a RGB color space, #AFA78C is composed of 69% red, 65% green and 55% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 5% magenta, 20% yellow and 31% black.

In the Yxy color space, this color is represented as Y: 38.83, x: 0.3762, and y: 0.3913.

Color Code #AFA78C

#AFA78Crgb(175, 167, 140)
HEX
#AFA78C
RGB
rgb(175, 167, 140)
HSL
hsl(46, 18%, 62%)
HSV
hsv(46, 20%, 69%)
CMYK
0%, 5%, 20%, 31%
XYZ
X: 37.33, Y: 38.83, Z: 23.08
Lab
L: 68.63, a: -0.37, b: 15.12
Name

Shades of Color #AFA78C

Shades are created by darkening the original color #AFA78C in equal steps from 0% to 90%. These shades are perfect for creating depth and contrast in your designs. Use them to add visual hierarchy or highlight specific elements in your projects.

Tints of Color #AFA78C

Tints are created by lightening the original color #AFA78C in equal steps from 0% to 90%, ending with pure white. These tints are ideal for creating soft backgrounds, subtle highlights, or cohesive UI elements that complement your designs.

#AFA78Crgb(175, 167, 140)

About #AFA78C Color Code

In the HSL color space, this color has a hue angle of 46°, a saturation of 18%, and a lightness of 62%. The HSV representation shows a hue of 46°, a saturation of 20%, and a value of 69%.

  • HEX: #AFA78C
  • RGB: rgb(175, 167, 140)
  • HSL: hsl(46, 18%, 62%)
  • HSV: hsv(46, 20%, 69%)
  • CMYK: 0.00% cyan, 5.00% magenta, 20.00% yellow, 31.00% black
  • XYZ: 37.33, 38.83, 23.08
  • Yxy: 38.83, 0.3762, 0.3913
  • Hunter Lab: 68.63, -0.37, 15.12
  • CIE-Lab: 68.63, -0.37, 15.12

In the XYZ color space, this color is represented as X: 37.33, Y: 38.83, Z: 23.08. The Yxy representation further refines this as Y: 38.83, x: 0.3762, and y: 0.3913.

In the Hunter Lab color space, this color is represented as L: 68.63, a: -0.37, and b: 15.12. Similarly, in the CIE-Lab color space, it is represented as L: 68.63, a: -0.37, and b: 15.12.

Use these color codes in your CSS, design tools, or anywhere you need to specify a color. You can also explore its shades and tints for more creative options.

Triadic Colors of #AFA78C

Triadic colors are three colors evenly spaced around the color wheel, including #AFA78C. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.

Analogous Colors of #AFA78C

Analogous colors are adjacent to #AFA78C on the color wheel. They create harmonious and visually pleasing designs, ideal for projects that need a cohesive look.

Monochromatic Colors of #AFA78C

Monochromatic colors are variations of #AFA78C, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.

Complementary Color of #AFA78C

The complementary color of #AFA78C is opposite it on the color wheel. Complementary colors provide strong contrast and are ideal for designs that need visual impact and attention.

CSS Examples of #AFA78C

/* Using HEX */
body {
  background-color: #afa78c;
}
/* Using RGB */
body {
  background-color: rgb(175, 167, 140);
}
/* Using RGB with opacity */
body {
  background-color: rgba(175, 167, 140, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(46, 18%, 62%);
}
/* Text color */
p {
  color: #afa78c;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #afa78c;
}
/* Border color */
.box {
  border: 4px solid #afa78c;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #afa78c;
}
Text Shadow Preview
/* Background with text */
div {
  background: #afa78c;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#AFA78C
On Black Background
#AFA78C
On White Background
#AFA78C

HTML Examples of #AFA78C

<!-- Using HEX -->
<div style="background-color: #afa78c; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(175, 167, 140); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(175, 167, 140, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(46, 18%, 62%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #afa78c;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #afa78c; width: 100px; height: 100px;"></div>
<!-- Border color -->
<div style="border: 4px solid #afa78c; width: 100px; height: 100px;"></div>
<!-- Text shadow -->
<h1 style="color: #222; text-shadow: 2px 2px 0 #afa78c;">Text Shadow Preview</h1>
Text Shadow Preview
<!-- Background with text -->
<div style="background: #afa78c; color: #fff; padding: 16px; border-radius: 8px;">
  #AFA78C
</div>
#AFA78C
On Black Background
#AFA78C
On White Background
#AFA78C

Related Colors of #AFA78C

These colors are similar to #AFA78C, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.