Color: #AFA60C

#AFA60C Color Information

#AFA60C is a light color. The closest websafe version is #AFA60C. A complement of this color would be #0C14B0, perceived brightness is 0.59, and the grayscale version is #5E5E5E.

In the HSL color space, this color has a hue angle of 57°,a saturation of 87%, and a lightness of 37%.The HSV representation shows a hue of 57°, a saturation of 93%, and a value of 69%.

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

In the Yxy color space, this color is represented as Y: 36.90, x: 0.4464, and y: 0.4927.

Color Code #AFA60C

#AFA60Crgb(175, 166, 12)
HEX
#AFA60C
RGB
rgb(175, 166, 12)
HSL
hsl(57, 87%, 37%)
HSV
hsv(57, 93%, 69%)
CMYK
0%, 5%, 93%, 31%
XYZ
X: 33.43, Y: 36.90, Z: 4.56
Lab
L: 67.20, a: -7.36, b: 67.26
Name

Shades of Color #AFA60C

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

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

#AFA60Crgb(175, 166, 12)

About #AFA60C Color Code

In the HSL color space, this color has a hue angle of 57°, a saturation of 87%, and a lightness of 37%. The HSV representation shows a hue of 57°, a saturation of 93%, and a value of 69%.

  • HEX: #AFA60C
  • RGB: rgb(175, 166, 12)
  • HSL: hsl(57, 87%, 37%)
  • HSV: hsv(57, 93%, 69%)
  • CMYK: 0.00% cyan, 5.00% magenta, 93.00% yellow, 31.00% black
  • XYZ: 33.43, 36.90, 4.56
  • Yxy: 36.90, 0.4464, 0.4927
  • Hunter Lab: 67.20, -7.36, 67.26
  • CIE-Lab: 67.20, -7.36, 67.26

In the XYZ color space, this color is represented as X: 33.43, Y: 36.90, Z: 4.56. The Yxy representation further refines this as Y: 36.90, x: 0.4464, and y: 0.4927.

In the Hunter Lab color space, this color is represented as L: 67.20, a: -7.36, and b: 67.26. Similarly, in the CIE-Lab color space, it is represented as L: 67.20, a: -7.36, and b: 67.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 #AFA60C

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

Analogous Colors of #AFA60C

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

Monochromatic Colors of #AFA60C

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

Complementary Color of #AFA60C

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

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

HTML Examples of #AFA60C

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

Related Colors of #AFA60C

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