Color: #AFB12C
#AFB12C Color Information
#AFB12C is a light color. The closest websafe version is #AFB12C. A complement of this color would be #2E2CAF, perceived brightness is 0.63, and the grayscale version is #6E6E6E.
In the HSL color space, this color has a hue angle of 61°,a saturation of 60%, and a lightness of 43%.The HSV representation shows a hue of 61°, a saturation of 75%, and a value of 69%.
In a RGB color space, #AFB12C is composed of 69% red, 69% green and 17% blue. Whereas in a CMYK color space, it is composed of 1% cyan, 0% magenta, 75% yellow and 31% black.
In the Yxy color space, this color is represented as Y: 41.21, x: 0.4290, and y: 0.4914.
Color Code #AFB12C
Shades of Color #AFB12C
Shades are created by darkening the original color #AFB12C 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 #AFB12C
Tints are created by lightening the original color #AFB12C 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 #AFB12C Color Code
In the HSL color space, this color has a hue angle of 61°, a saturation of 60%, and a lightness of 43%. The HSV representation shows a hue of 61°, a saturation of 75%, and a value of 69%.
- HEX: #AFB12C
- RGB: rgb(175, 177, 44)
- HSL: hsl(61, 60%, 43%)
- HSV: hsv(61, 75%, 69%)
- CMYK: 100.00% cyan, 0.00% magenta, 75.00% yellow, 31.00% black
- XYZ: 35.98, 41.21, 6.67
- Yxy: 41.21, 0.4290, 0.4914
- Hunter Lab: 70.32, -12.10, 62.38
- CIE-Lab: 70.32, -12.10, 62.38
In the XYZ color space, this color is represented as X: 35.98, Y: 41.21, Z: 6.67. The Yxy representation further refines this as Y: 41.21, x: 0.4290, and y: 0.4914.
In the Hunter Lab color space, this color is represented as L: 70.32, a: -12.10, and b: 62.38. Similarly, in the CIE-Lab color space, it is represented as L: 70.32, a: -12.10, and b: 62.38.
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 #AFB12C
Triadic colors are three colors evenly spaced around the color wheel, including #AFB12C. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.
Split Complementary Colors of #AFB12C
Split complementary colors are two colors adjacent to the complementary color of #AFB12C. They create a balanced and visually appealing color scheme.
Monochromatic Colors of #AFB12C
Monochromatic colors are variations of #AFB12C, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.
Complementary Color of #AFB12C
The complementary color of #AFB12C 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 #AFB12C
/* Using HEX */ body { background-color: #afb12c; }
/* Using RGB */ body { background-color: rgb(175, 177, 44); }
/* Using RGB with opacity */ body { background-color: rgba(175, 177, 44, 0.5); }
/* Using HSL */ body { background-color: hsl(61, 60%, 43%); }
/* Text color */ p { color: #afb12c; }
/* Box shadow */ div { box-shadow: 4px 4px #afb12c; }
/* Border color */ .box { border: 4px solid #afb12c; }
/* Text shadow */ h1 { color: #222; text-shadow: 2px 2px 0 #afb12c; }
/* Background with text */ div { background: #afb12c; color: #fff; padding: 16px; border-radius: 8px; }
HTML Examples of #AFB12C
<!-- Using HEX --> <div style="background-color: #afb12c; width: 100px; height: 100px;"></div>
<!-- Using RGB --> <div style="background-color: rgb(175, 177, 44); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity --> <div style="background-color: rgba(175, 177, 44, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL --> <div style="background-color: hsl(61, 60%, 43%); width: 100px; height: 100px;"></div>
<!-- Text color --> <p style="color: #afb12c;">This is a text example.</p>
<!-- Box shadow --> <div style="box-shadow: 4px 4px #afb12c; width: 100px; height: 100px;"></div>
<!-- Border color --> <div style="border: 4px solid #afb12c; width: 100px; height: 100px;"></div>
<!-- Text shadow --> <h1 style="color: #222; text-shadow: 2px 2px 0 #afb12c;">Text Shadow Preview</h1>
<!-- Background with text --> <div style="background: #afb12c; color: #fff; padding: 16px; border-radius: 8px;"> #AFB12C </div>
Related Colors of #AFB12C
These colors are similar to #AFB12C, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.