The hexadecimal color code #AFAF46 represents a medium shade in the yellow family. In the RGB color model, this color is composed of 175 red, 175 green, and 70 blue, which translates to approximately 69% red, 69% green, and 27% 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, #AFAF46 has a hue of 60 degrees, a saturation level of 43%, and a lightness value of 48%. 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 60%, and brightness/value of 69%.
For print applications using the CMYK color model, #AFAF46 would be reproduced using 0% cyan, 0% magenta, 60% 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 #AFAF46 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 11513670, which can be useful in certain programming contexts.
🔢 Color Conversion Codes for #AFAF46
Tailwind CSS
lime-400
HEX
#AFAF46
RGB
rgb(175, 175, 70)
RGB %
69%, 69%, 27%
HSL
hsl(60, 43%, 48%)
HSV
hsv(60, 60%, 69%)
CMYK
0%, 0%, 60%, 31%
Decimal
11513670
Web Safe
#999933
🎨 Color Schemes for #AFAF46
Complementary
Analogous
Triadic
Split Complementary
Tetradic (Rectangle)
🔄 Alternatives to #AFAF46
🌗 Shades and Tints of #AFAF46
Shades (adding black)
Tints (adding white)
🎚️ Tones of #AFAF46
Tones (adding gray / desaturating)
🌈 Hue Variations of #AFAF46
Hue Variations (shifting the color spectrum)
👁️ Preview of #AFAF46 in Use
Text on #AFAF46
This demonstrates text readability on the color background. (Click to edit)
#AFAF46 as Text
This shows the color used as text on white. (Click to edit)
👓 Color Blindness Simulation for #AFAF46
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 43%, and lightness of 48%. Its RGB value is (175, 175, 70) and its CMYK breakdown is C:0% M:0% Y:60% 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 #AFAF46
What is the HEX code for Yellow? +
The HEX code for Yellow is #AFAF46. In CSS you can use it directly as color: #AFAF46; or as a background: background-color: #AFAF46;. 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 #AFAF46? +
The RGB value of #AFAF46 is rgb(175, 175, 70). This means the color contains 175 out of 255 parts red, 175 out of 255 parts green, and 70 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, 70);
What is the HSL value of #AFAF46? +
The HSL value of #AFAF46 is hsl(60, 43%, 48%). The hue is 60°, placing it in the yellow family on the color wheel. The saturation is 43%, making it moderately saturated. The lightness is 48%, 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 #AFAF46 a warm or cool color? +
#AFAF46 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 #AFAF46? +
The approximate CMYK value of #AFAF46 is C:0% M:0% Y:60% 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.