Color: #40A10C
#40A10C Color Information
#40A10C is a dark color. The closest websafe version is #40A10C. A complement of this color would be #6D0CA1, perceived brightness is 0.45, and the grayscale version is #575757.
In the HSL color space, this color has a hue angle of 99°,a saturation of 86%, and a lightness of 34%.The HSV representation shows a hue of 99°, a saturation of 93%, and a value of 63%.
In a RGB color space, #40A10C is composed of 25% red, 63% green and 5% blue. Whereas in a CMYK color space, it is composed of 60% cyan, 0% magenta, 93% yellow and 37% black.
In the Yxy color space, this color is represented as Y: 26.71, x: 0.3442, and y: 0.5743.
Color Code #40A10C
Shades of Color #40A10C
Shades are created by darkening the original color #40A10C 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 #40A10C
Tints are created by lightening the original color #40A10C 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 #40A10C Color Code
In the HSL color space, this color has a hue angle of 99°, a saturation of 86%, and a lightness of 34%. The HSV representation shows a hue of 99°, a saturation of 93%, and a value of 63%.
- HEX: #40A10C
- RGB: rgb(64, 161, 12)
- HSL: hsl(99, 86%, 34%)
- HSV: hsv(99, 93%, 63%)
- CMYK: 60.00% cyan, 0.00% magenta, 93.00% yellow, 37.00% black
- XYZ: 16.01, 26.71, 3.79
- Yxy: 26.71, 0.3442, 0.5743
- Hunter Lab: 58.71, -47.19, 57.15
- CIE-Lab: 58.71, -47.19, 57.15
In the XYZ color space, this color is represented as X: 16.01, Y: 26.71, Z: 3.79. The Yxy representation further refines this as Y: 26.71, x: 0.3442, and y: 0.5743.
In the Hunter Lab color space, this color is represented as L: 58.71, a: -47.19, and b: 57.15. Similarly, in the CIE-Lab color space, it is represented as L: 58.71, a: -47.19, and b: 57.15.
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 #40A10C
Triadic colors are three colors evenly spaced around the color wheel, including #40A10C. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.
Monochromatic Colors of #40A10C
Monochromatic colors are variations of #40A10C, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.
Complementary Color of #40A10C
The complementary color of #40A10C 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 #40A10C
/* Using HEX */ body { background-color: #40a10c; }
/* Using RGB */ body { background-color: rgb(64, 161, 12); }
/* Using RGB with opacity */ body { background-color: rgba(64, 161, 12, 0.5); }
/* Using HSL */ body { background-color: hsl(99, 86%, 34%); }
/* Text color */ p { color: #40a10c; }
/* Box shadow */ div { box-shadow: 4px 4px #40a10c; }
/* Border color */ .box { border: 4px solid #40a10c; }
/* Text shadow */ h1 { color: #222; text-shadow: 2px 2px 0 #40a10c; }
/* Background with text */ div { background: #40a10c; color: #fff; padding: 16px; border-radius: 8px; }
HTML Examples of #40A10C
<!-- Using HEX --> <div style="background-color: #40a10c; width: 100px; height: 100px;"></div>
<!-- Using RGB --> <div style="background-color: rgb(64, 161, 12); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity --> <div style="background-color: rgba(64, 161, 12, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL --> <div style="background-color: hsl(99, 86%, 34%); width: 100px; height: 100px;"></div>
<!-- Text color --> <p style="color: #40a10c;">This is a text example.</p>
<!-- Box shadow --> <div style="box-shadow: 4px 4px #40a10c; width: 100px; height: 100px;"></div>
<!-- Border color --> <div style="border: 4px solid #40a10c; width: 100px; height: 100px;"></div>
<!-- Text shadow --> <h1 style="color: #222; text-shadow: 2px 2px 0 #40a10c;">Text Shadow Preview</h1>
<!-- Background with text --> <div style="background: #40a10c; color: #fff; padding: 16px; border-radius: 8px;"> #40A10C </div>
Related Colors of #40A10C
These colors are similar to #40A10C, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.