Color: #AFD98C
#AFD98C Color Information
#AFD98C is a light color. The closest websafe version is #AFD98C. A complement of this color would be #B68CD9, perceived brightness is 0.77, and the grayscale version is #B2B2B2.
In the HSL color space, this color has a hue angle of 93°,a saturation of 50%, and a lightness of 70%.The HSV representation shows a hue of 93°, a saturation of 35%, and a value of 85%.
In a RGB color space, #AFD98C is composed of 69% red, 85% green and 55% blue. Whereas in a CMYK color space, it is composed of 19% cyan, 0% magenta, 35% yellow and 15% black.
In the Yxy color space, this color is represented as Y: 60.87, x: 0.3612, and y: 0.4473.
Color Code #AFD98C
Shades of Color #AFD98C
Shades are created by darkening the original color #AFD98C 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 #AFD98C
Tints are created by lightening the original color #AFD98C 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 #AFD98C Color Code
In the HSL color space, this color has a hue angle of 93°, a saturation of 50%, and a lightness of 70%. The HSV representation shows a hue of 93°, a saturation of 35%, and a value of 85%.
- HEX: #AFD98C
- RGB: rgb(175, 217, 140)
- HSL: hsl(93, 50%, 70%)
- HSV: hsv(93, 35%, 85%)
- CMYK: 19.00% cyan, 0.00% magenta, 35.00% yellow, 15.00% black
- XYZ: 49.16, 60.87, 26.06
- Yxy: 60.87, 0.3612, 0.4473
- Hunter Lab: 82.31, -24.30, 33.29
- CIE-Lab: 82.31, -24.30, 33.29
In the XYZ color space, this color is represented as X: 49.16, Y: 60.87, Z: 26.06. The Yxy representation further refines this as Y: 60.87, x: 0.3612, and y: 0.4473.
In the Hunter Lab color space, this color is represented as L: 82.31, a: -24.30, and b: 33.29. Similarly, in the CIE-Lab color space, it is represented as L: 82.31, a: -24.30, and b: 33.29.
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 #AFD98C
Triadic colors are three colors evenly spaced around the color wheel, including #AFD98C. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.
Monochromatic Colors of #AFD98C
Monochromatic colors are variations of #AFD98C, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.
Complementary Color of #AFD98C
The complementary color of #AFD98C 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 #AFD98C
/* Using HEX */ body { background-color: #afd98c; }
/* Using RGB */ body { background-color: rgb(175, 217, 140); }
/* Using RGB with opacity */ body { background-color: rgba(175, 217, 140, 0.5); }
/* Using HSL */ body { background-color: hsl(93, 50%, 70%); }
/* Text color */ p { color: #afd98c; }
/* Box shadow */ div { box-shadow: 4px 4px #afd98c; }
/* Border color */ .box { border: 4px solid #afd98c; }
/* Text shadow */ h1 { color: #222; text-shadow: 2px 2px 0 #afd98c; }
/* Background with text */ div { background: #afd98c; color: #fff; padding: 16px; border-radius: 8px; }
HTML Examples of #AFD98C
<!-- Using HEX --> <div style="background-color: #afd98c; width: 100px; height: 100px;"></div>
<!-- Using RGB --> <div style="background-color: rgb(175, 217, 140); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity --> <div style="background-color: rgba(175, 217, 140, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL --> <div style="background-color: hsl(93, 50%, 70%); width: 100px; height: 100px;"></div>
<!-- Text color --> <p style="color: #afd98c;">This is a text example.</p>
<!-- Box shadow --> <div style="box-shadow: 4px 4px #afd98c; width: 100px; height: 100px;"></div>
<!-- Border color --> <div style="border: 4px solid #afd98c; width: 100px; height: 100px;"></div>
<!-- Text shadow --> <h1 style="color: #222; text-shadow: 2px 2px 0 #afd98c;">Text Shadow Preview</h1>
<!-- Background with text --> <div style="background: #afd98c; color: #fff; padding: 16px; border-radius: 8px;"> #AFD98C </div>
Related Colors of #AFD98C
These colors are similar to #AFD98C, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.