Color: #AFA78B

#AFA78B Color Information

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

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

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

In the Yxy color space, this color is represented as Y: 38.81, x: 0.3770, and y: 0.3925.

Color Code #AFA78B

#AFA78Brgb(175, 167, 139)
HEX
#AFA78B
RGB
rgb(175, 167, 139)
HSL
hsl(47, 18%, 62%)
HSV
hsv(47, 21%, 69%)
CMYK
0%, 5%, 21%, 31%
XYZ
X: 37.27, Y: 38.81, Z: 22.79
Lab
L: 68.61, a: -0.49, b: 15.64
Name

Shades of Color #AFA78B

Shades are created by darkening the original color #AFA78B 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 #AFA78B

Tints are created by lightening the original color #AFA78B 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.

#AFA78Brgb(175, 167, 139)

About #AFA78B Color Code

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

  • HEX: #AFA78B
  • RGB: rgb(175, 167, 139)
  • HSL: hsl(47, 18%, 62%)
  • HSV: hsv(47, 21%, 69%)
  • CMYK: 0.00% cyan, 5.00% magenta, 21.00% yellow, 31.00% black
  • XYZ: 37.27, 38.81, 22.79
  • Yxy: 38.81, 0.3770, 0.3925
  • Hunter Lab: 68.61, -0.49, 15.64
  • CIE-Lab: 68.61, -0.49, 15.64

In the XYZ color space, this color is represented as X: 37.27, Y: 38.81, Z: 22.79. The Yxy representation further refines this as Y: 38.81, x: 0.3770, and y: 0.3925.

In the Hunter Lab color space, this color is represented as L: 68.61, a: -0.49, and b: 15.64. Similarly, in the CIE-Lab color space, it is represented as L: 68.61, a: -0.49, and b: 15.64.

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 #AFA78B

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

Analogous Colors of #AFA78B

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

Split Complementary Colors of #AFA78B

Split complementary colors are two colors adjacent to the complementary color of #AFA78B. They create a balanced and visually appealing color scheme.

Tetradic Colors of #AFA78B

Tetradic colors form a rectangle on the color wheel, including #AFA78B. They provide vibrant and diverse color schemes for creative designs.

Monochromatic Colors of #AFA78B

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

Complementary Color of #AFA78B

The complementary color of #AFA78B 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 #AFA78B

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

HTML Examples of #AFA78B

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

Related Colors of #AFA78B

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