Color: #AFB98C
#AFB98C Color Information
#AFB98C is a light color. The closest websafe version is #AFB98C. A complement of this color would be #978DB9, perceived brightness is 0.69, and the grayscale version is #A3A3A3.
In the HSL color space, this color has a hue angle of 73°,a saturation of 24%, and a lightness of 64%.The HSV representation shows a hue of 73°, a saturation of 24%, and a value of 73%.
In a RGB color space, #AFB98C is composed of 69% red, 73% green and 55% blue. Whereas in a CMYK color space, it is composed of 5% cyan, 0% magenta, 24% yellow and 27% black.
In the Yxy color space, this color is represented as Y: 45.91, x: 0.3703, and y: 0.4133.
Color Code #AFB98C
Shades of Color #AFB98C
Shades are created by darkening the original color #AFB98C 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 #AFB98C
Tints are created by lightening the original color #AFB98C 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.
About #AFB98C Color Code
In the HSL color space, this color has a hue angle of 73°, a saturation of 24%, and a lightness of 64%. The HSV representation shows a hue of 73°, a saturation of 24%, and a value of 73%.
- HEX: #AFB98C
- RGB: rgb(175, 185, 140)
- HSL: hsl(73, 24%, 64%)
- HSV: hsv(73, 24%, 73%)
- CMYK: 5.00% cyan, 0.00% magenta, 24.00% yellow, 27.00% black
- XYZ: 41.13, 45.91, 24.04
- Yxy: 45.91, 0.3703, 0.4133
- Hunter Lab: 73.49, -9.34, 21.71
- CIE-Lab: 73.49, -9.34, 21.71
In the XYZ color space, this color is represented as X: 41.13, Y: 45.91, Z: 24.04. The Yxy representation further refines this as Y: 45.91, x: 0.3703, and y: 0.4133.
In the Hunter Lab color space, this color is represented as L: 73.49, a: -9.34, and b: 21.71. Similarly, in the CIE-Lab color space, it is represented as L: 73.49, a: -9.34, and b: 21.71.
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 #AFB98C
Triadic colors are three colors evenly spaced around the color wheel, including #AFB98C. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.
Monochromatic Colors of #AFB98C
Monochromatic colors are variations of #AFB98C, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.
Complementary Color of #AFB98C
The complementary color of #AFB98C 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 #AFB98C
/* Using HEX */ body { background-color: #afb98c; }
/* Using RGB */ body { background-color: rgb(175, 185, 140); }
/* Using RGB with opacity */ body { background-color: rgba(175, 185, 140, 0.5); }
/* Using HSL */ body { background-color: hsl(73, 24%, 64%); }
/* Text color */ p { color: #afb98c; }
/* Box shadow */ div { box-shadow: 4px 4px #afb98c; }
/* Border color */ .box { border: 4px solid #afb98c; }
/* Text shadow */ h1 { color: #222; text-shadow: 2px 2px 0 #afb98c; }
/* Background with text */ div { background: #afb98c; color: #fff; padding: 16px; border-radius: 8px; }
HTML Examples of #AFB98C
<!-- Using HEX --> <div style="background-color: #afb98c; width: 100px; height: 100px;"></div>
<!-- Using RGB --> <div style="background-color: rgb(175, 185, 140); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity --> <div style="background-color: rgba(175, 185, 140, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL --> <div style="background-color: hsl(73, 24%, 64%); width: 100px; height: 100px;"></div>
<!-- Text color --> <p style="color: #afb98c;">This is a text example.</p>
<!-- Box shadow --> <div style="box-shadow: 4px 4px #afb98c; width: 100px; height: 100px;"></div>
<!-- Border color --> <div style="border: 4px solid #afb98c; width: 100px; height: 100px;"></div>
<!-- Text shadow --> <h1 style="color: #222; text-shadow: 2px 2px 0 #afb98c;">Text Shadow Preview</h1>
<!-- Background with text --> <div style="background: #afb98c; color: #fff; padding: 16px; border-radius: 8px;"> #AFB98C </div>
Related Colors of #AFB98C
These colors are similar to #AFB98C, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.