Color: #AFB74C

#AFB74C Color Information

#AFB74C is a light color. The closest websafe version is #AFB74C. A complement of this color would be #534CB8, perceived brightness is 0.66, and the grayscale version is #828282.

In the HSL color space, this color has a hue angle of 64°,a saturation of 43%, and a lightness of 51%.The HSV representation shows a hue of 64°, a saturation of 58%, and a value of 72%.

In a RGB color space, #AFB74C is composed of 69% red, 72% green and 30% blue. Whereas in a CMYK color space, it is composed of 4% cyan, 0% magenta, 58% yellow and 28% black.

In the Yxy color space, this color is represented as Y: 43.92, x: 0.4115, and y: 0.4761.

Color Code #AFB74C

#AFB74Crgb(175, 183, 76)
HEX
#AFB74C
RGB
rgb(175, 183, 76)
HSL
hsl(64, 43%, 51%)
HSV
hsv(64, 58%, 72%)
CMYK
4%, 0%, 58%, 28%
XYZ
X: 37.96, Y: 43.92, Z: 10.36
Lab
L: 72.18, a: -13.61, b: 51.89
Name

Shades of Color #AFB74C

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

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

#AFB74Crgb(175, 183, 76)

About #AFB74C Color Code

In the HSL color space, this color has a hue angle of 64°, a saturation of 43%, and a lightness of 51%. The HSV representation shows a hue of 64°, a saturation of 58%, and a value of 72%.

  • HEX: #AFB74C
  • RGB: rgb(175, 183, 76)
  • HSL: hsl(64, 43%, 51%)
  • HSV: hsv(64, 58%, 72%)
  • CMYK: 4.00% cyan, 0.00% magenta, 58.00% yellow, 28.00% black
  • XYZ: 37.96, 43.92, 10.36
  • Yxy: 43.92, 0.4115, 0.4761
  • Hunter Lab: 72.18, -13.61, 51.89
  • CIE-Lab: 72.18, -13.61, 51.89

In the XYZ color space, this color is represented as X: 37.96, Y: 43.92, Z: 10.36. The Yxy representation further refines this as Y: 43.92, x: 0.4115, and y: 0.4761.

In the Hunter Lab color space, this color is represented as L: 72.18, a: -13.61, and b: 51.89. Similarly, in the CIE-Lab color space, it is represented as L: 72.18, a: -13.61, and b: 51.89.

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

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

Analogous Colors of #AFB74C

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

Split Complementary Colors of #AFB74C

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

Tetradic Colors of #AFB74C

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

Monochromatic Colors of #AFB74C

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

Complementary Color of #AFB74C

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

/* Using HEX */
body {
  background-color: #afb74c;
}
/* Using RGB */
body {
  background-color: rgb(175, 183, 76);
}
/* Using RGB with opacity */
body {
  background-color: rgba(175, 183, 76, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(64, 43%, 51%);
}
/* Text color */
p {
  color: #afb74c;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #afb74c;
}
/* Border color */
.box {
  border: 4px solid #afb74c;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #afb74c;
}
Text Shadow Preview
/* Background with text */
div {
  background: #afb74c;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#AFB74C
On Black Background
#AFB74C
On White Background
#AFB74C

HTML Examples of #AFB74C

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

Related Colors of #AFB74C

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