The hexadecimal color code #AFAF4B represents a medium shade in the yellow family. In the RGB color model, this color is composed of 175 red, 175 green, and 75 blue, which translates to approximately 69% red, 69% green, and 29% blue. This makes it a slightly desaturated color with cool undertones that can evoke different emotional responses depending on its application.
When analyzed in the HSL (Hue, Saturation, Lightness) color space, #AFAF4B has a hue of 60 degrees, a saturation level of 40%, and a lightness value of 49%. The hue angle of 60° places this color firmly in the yellow spectrum. In the HSV/HSB color model, this translates to a hue of 60°, saturation of 57%, and brightness/value of 69%.
For print applications using the CMYK color model, #AFAF4B would be reproduced using 0% cyan, 0% magenta, 57% yellow, and 31% black. The closest web-safe color is #999933, which may be useful for ensuring compatibility across older displays and systems.
This color works well in various design contexts. With its medium lightness, it's versatile enough for both foreground elements and subtle backgrounds. The moderate to low saturation gives this color a sophisticated, muted quality that works well in professional and minimalist designs. When pairing #AFAF4B with other colors, consider its complementary color at hue 240° for maximum contrast, or use analogous colors within 30° of its hue for harmonious combinations. The decimal representation of this color is 11513675, which can be useful in certain programming contexts.
🔢 Color Conversion Codes for #AFAF4B
Tailwind CSS
lime-400
HEX
#AFAF4B
RGB
rgb(175, 175, 75)
RGB %
69%, 69%, 29%
HSL
hsl(60, 40%, 49%)
HSV
hsv(60, 57%, 69%)
CMYK
0%, 0%, 57%, 31%
Decimal
11513675
Web Safe
#999933
🎨 Color Schemes for #AFAF4B
Complementary
Analogous
Triadic
Split Complementary
Tetradic (Rectangle)
🔄 Alternatives to #AFAF4B
🌗 Shades and Tints of #AFAF4B
Shades (adding black)
Tints (adding white)
🎚️ Tones of #AFAF4B
Tones (adding gray / desaturating)
🌈 Hue Variations of #AFAF4B
Hue Variations (shifting the color spectrum)
👁️ Preview of #AFAF4B in Use
Text on #AFAF4B
This demonstrates text readability on the color background. (Click to edit)
#AFAF4B as Text
This shows the color used as text on white. (Click to edit)
👓 Color Blindness Simulation for #AFAF4B
Check how a color is perceived by people with different types of color blindness to create more accessible designs. Understanding color perception helps ensure your content is accessible to everyone.
Yellow is a medium, moderately saturated, warm yellow color with a hue angle of 60°, saturation of 40%, and lightness of 49%. Its RGB value is (175, 175, 75) and its CMYK breakdown is C:0% M:0% Y:57% K:31%.
This is a Spring (Vital) color palette archetype. Happiness, Positivity, Optimism, Caution. Yellow is the most luminous of all the colors of the spectrum.
Frequently Asked Questions About #AFAF4B
What is the HEX code for Yellow? +
The HEX code for Yellow is #AFAF4B. In CSS you can use it directly as color: #AFAF4B; or as a background: background-color: #AFAF4B;. The three-character shorthand is not available for this color since it cannot be reduced without changing the value. Use the full six-character hex for accurate reproduction in any web or design project.
What is the RGB value of #AFAF4B? +
The RGB value of #AFAF4B is rgb(175, 175, 75). This means the color contains 175 out of 255 parts red, 175 out of 255 parts green, and 75 out of 255 parts blue. Red is the strongest channel in this color mix. You can use the full RGB function in any CSS property: color: rgb(175, 175, 75);
What is the HSL value of #AFAF4B? +
The HSL value of #AFAF4B is hsl(60, 40%, 49%). The hue is 60°, placing it in the yellow family on the color wheel. The saturation is 40%, making it moderately saturated. The lightness is 49%, making it medium. HSL is the most useful format for programmatic color manipulation in CSS, as you can easily adjust lightness to create tints and shades.
Is #AFAF4B a warm or cool color? +
#AFAF4B is classified as a warm color based on its hue angle of 60°. Warm colors — reds, oranges, and yellows — evoke energy, enthusiasm, and urgency. They tend to advance visually and draw the eye. In design, warm colors are often used for calls-to-action, food and hospitality brands, and anywhere a feeling of warmth or excitement is desired.
What is the CMYK value of #AFAF4B? +
The approximate CMYK value of #AFAF4B is C:0% M:0% Y:57% K:31%. CMYK (Cyan, Magenta, Yellow, Key/Black) is the color model used in physical printing. Unlike RGB which mixes light additively on screens, CMYK mixes inks subtractively on paper. Note that the RGB-to-CMYK conversion is an approximation — screen colors and print colors exist in different color gamuts, and some screen colors cannot be exactly reproduced in print. For precise print work, consult a professional print color profile or Pantone matching system.