Color: #AFC40C

#AFC40C Color Information

#AFC40C is a light color. The closest websafe version is #AFC40C. A complement of this color would be #220DC5, perceived brightness is 0.66, and the grayscale version is #686868.

In the HSL color space, this color has a hue angle of 67°,a saturation of 88%, and a lightness of 41%.The HSV representation shows a hue of 67°, a saturation of 94%, and a value of 77%.

In a RGB color space, #AFC40C is composed of 69% red, 77% green and 5% blue. Whereas in a CMYK color space, it is composed of 11% cyan, 0% magenta, 94% yellow and 23% black.

In the Yxy color space, this color is represented as Y: 49.13, x: 0.4195, and y: 0.5153.

Color Code #AFC40C

#AFC40Crgb(175, 196, 12)
HEX
#AFC40C
RGB
rgb(175, 196, 12)
HSL
hsl(67, 88%, 41%)
HSV
hsv(67, 94%, 77%)
CMYK
11%, 0%, 94%, 23%
XYZ
X: 40.00, Y: 49.13, Z: 6.22
Lab
L: 75.53, a: -21.63, b: 73.33
Name

Shades of Color #AFC40C

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

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

#AFC40Crgb(175, 196, 12)

About #AFC40C Color Code

In the HSL color space, this color has a hue angle of 67°, a saturation of 88%, and a lightness of 41%. The HSV representation shows a hue of 67°, a saturation of 94%, and a value of 77%.

  • HEX: #AFC40C
  • RGB: rgb(175, 196, 12)
  • HSL: hsl(67, 88%, 41%)
  • HSV: hsv(67, 94%, 77%)
  • CMYK: 11.00% cyan, 0.00% magenta, 94.00% yellow, 23.00% black
  • XYZ: 40.00, 49.13, 6.22
  • Yxy: 49.13, 0.4195, 0.5153
  • Hunter Lab: 75.53, -21.63, 73.33
  • CIE-Lab: 75.53, -21.63, 73.33

In the XYZ color space, this color is represented as X: 40.00, Y: 49.13, Z: 6.22. The Yxy representation further refines this as Y: 49.13, x: 0.4195, and y: 0.5153.

In the Hunter Lab color space, this color is represented as L: 75.53, a: -21.63, and b: 73.33. Similarly, in the CIE-Lab color space, it is represented as L: 75.53, a: -21.63, and b: 73.33.

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

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

Analogous Colors of #AFC40C

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

Split Complementary Colors of #AFC40C

Split complementary colors are two colors adjacent to the complementary color of #AFC40C. They create a balanced and visually appealing color scheme.

Tetradic Colors of #AFC40C

Tetradic colors form a rectangle on the color wheel, including #AFC40C. They provide vibrant and diverse color schemes for creative designs.

Monochromatic Colors of #AFC40C

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

Complementary Color of #AFC40C

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

/* Using HEX */
body {
  background-color: #afc40c;
}
/* Using RGB */
body {
  background-color: rgb(175, 196, 12);
}
/* Using RGB with opacity */
body {
  background-color: rgba(175, 196, 12, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(67, 88%, 41%);
}
/* Text color */
p {
  color: #afc40c;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #afc40c;
}
/* Border color */
.box {
  border: 4px solid #afc40c;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #afc40c;
}
Text Shadow Preview
/* Background with text */
div {
  background: #afc40c;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#AFC40C
On Black Background
#AFC40C
On White Background
#AFC40C

HTML Examples of #AFC40C

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

Related Colors of #AFC40C

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