Color: #AFB50C

#AFB50C Color Information

#AFB50C is a light color. The closest websafe version is #AFB50C. A complement of this color would be #110CB6, perceived brightness is 0.63, and the grayscale version is #616161.

In the HSL color space, this color has a hue angle of 62°,a saturation of 88%, and a lightness of 38%.The HSV representation shows a hue of 62°, a saturation of 93%, and a value of 71%.

In a RGB color space, #AFB50C is composed of 69% red, 71% green and 5% blue. Whereas in a CMYK color space, it is composed of 3% cyan, 0% magenta, 93% yellow and 29% black.

In the Yxy color space, this color is represented as Y: 42.69, x: 0.4320, and y: 0.5047.

Color Code #AFB50C

#AFB50Crgb(175, 181, 12)
HEX
#AFB50C
RGB
rgb(175, 181, 12)
HSL
hsl(62, 88%, 38%)
HSV
hsv(62, 93%, 71%)
CMYK
3%, 0%, 93%, 29%
XYZ
X: 36.54, Y: 42.69, Z: 5.35
Lab
L: 71.34, a: -14.65, b: 70.26
Name

Shades of Color #AFB50C

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

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

#AFB50Crgb(175, 181, 12)

About #AFB50C Color Code

In the HSL color space, this color has a hue angle of 62°, a saturation of 88%, and a lightness of 38%. The HSV representation shows a hue of 62°, a saturation of 93%, and a value of 71%.

  • HEX: #AFB50C
  • RGB: rgb(175, 181, 12)
  • HSL: hsl(62, 88%, 38%)
  • HSV: hsv(62, 93%, 71%)
  • CMYK: 3.00% cyan, 0.00% magenta, 93.00% yellow, 29.00% black
  • XYZ: 36.54, 42.69, 5.35
  • Yxy: 42.69, 0.4320, 0.5047
  • Hunter Lab: 71.34, -14.65, 70.26
  • CIE-Lab: 71.34, -14.65, 70.26

In the XYZ color space, this color is represented as X: 36.54, Y: 42.69, Z: 5.35. The Yxy representation further refines this as Y: 42.69, x: 0.4320, and y: 0.5047.

In the Hunter Lab color space, this color is represented as L: 71.34, a: -14.65, and b: 70.26. Similarly, in the CIE-Lab color space, it is represented as L: 71.34, a: -14.65, and b: 70.26.

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

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

Analogous Colors of #AFB50C

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

Monochromatic Colors of #AFB50C

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

Complementary Color of #AFB50C

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

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

HTML Examples of #AFB50C

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

Related Colors of #AFB50C

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