Color: #7FA40C

#7FA40C Color Information

#7FA40C is a light color. The closest websafe version is #7FA40C. A complement of this color would be #330CA6, perceived brightness is 0.53, and the grayscale version is #585858.

In the HSL color space, this color has a hue angle of 75°,a saturation of 86%, and a lightness of 35%.The HSV representation shows a hue of 75°, a saturation of 93%, and a value of 64%.

In a RGB color space, #7FA40C is composed of 50% red, 64% green and 5% blue. Whereas in a CMYK color space, it is composed of 23% cyan, 0% magenta, 93% yellow and 36% black.

In the Yxy color space, this color is represented as Y: 31.36, x: 0.3992, and y: 0.5304.

Color Code #7FA40C

#7FA40Crgb(127, 164, 12)
HEX
#7FA40C
RGB
rgb(127, 164, 12)
HSL
hsl(75, 86%, 35%)
HSV
hsv(75, 93%, 64%)
CMYK
23%, 0%, 93%, 36%
XYZ
X: 23.60, Y: 31.36, Z: 4.16
Lab
L: 62.81, a: -26.92, b: 61.98
Name

Shades of Color #7FA40C

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

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

#7FA40Crgb(127, 164, 12)

About #7FA40C Color Code

In the HSL color space, this color has a hue angle of 75°, a saturation of 86%, and a lightness of 35%. The HSV representation shows a hue of 75°, a saturation of 93%, and a value of 64%.

  • HEX: #7FA40C
  • RGB: rgb(127, 164, 12)
  • HSL: hsl(75, 86%, 35%)
  • HSV: hsv(75, 93%, 64%)
  • CMYK: 23.00% cyan, 0.00% magenta, 93.00% yellow, 36.00% black
  • XYZ: 23.60, 31.36, 4.16
  • Yxy: 31.36, 0.3992, 0.5304
  • Hunter Lab: 62.81, -26.92, 61.98
  • CIE-Lab: 62.81, -26.92, 61.98

In the XYZ color space, this color is represented as X: 23.60, Y: 31.36, Z: 4.16. The Yxy representation further refines this as Y: 31.36, x: 0.3992, and y: 0.5304.

In the Hunter Lab color space, this color is represented as L: 62.81, a: -26.92, and b: 61.98. Similarly, in the CIE-Lab color space, it is represented as L: 62.81, a: -26.92, and b: 61.98.

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

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

Analogous Colors of #7FA40C

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

Monochromatic Colors of #7FA40C

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

Complementary Color of #7FA40C

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

/* Using HEX */
body {
  background-color: #7fa40c;
}
/* Using RGB */
body {
  background-color: rgb(127, 164, 12);
}
/* Using RGB with opacity */
body {
  background-color: rgba(127, 164, 12, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(75, 86%, 35%);
}
/* Text color */
p {
  color: #7fa40c;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #7fa40c;
}
/* Border color */
.box {
  border: 4px solid #7fa40c;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #7fa40c;
}
Text Shadow Preview
/* Background with text */
div {
  background: #7fa40c;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#7FA40C
On Black Background
#7FA40C
On White Background
#7FA40C

HTML Examples of #7FA40C

<!-- Using HEX -->
<div style="background-color: #7fa40c; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(127, 164, 12); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(127, 164, 12, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(75, 86%, 35%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #7fa40c;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #7fa40c; width: 100px; height: 100px;"></div>
<!-- Border color -->
<div style="border: 4px solid #7fa40c; width: 100px; height: 100px;"></div>
<!-- Text shadow -->
<h1 style="color: #222; text-shadow: 2px 2px 0 #7fa40c;">Text Shadow Preview</h1>
Text Shadow Preview
<!-- Background with text -->
<div style="background: #7fa40c; color: #fff; padding: 16px; border-radius: 8px;">
  #7FA40C
</div>
#7FA40C
On Black Background
#7FA40C
On White Background
#7FA40C

Related Colors of #7FA40C

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