#AFAA4B Color Information

Hex color code: #AFAA4B

A subtle yellow shade, #AFAA4B appears as (175, 170, 75) in RGB and (57°, 40%, 49%) in HSL. It is popular in mobile app design.

Try:
Color NameYellow Green
HEX
#AFAA4B
RGB
175, 170, 75
HSL
57°, 40%, 49%
CMYK
0%, 3%, 57%, 31%

Shades

CSS Usage
color: #AFAA4B;
background-color: #AFAA4B;
border-color: #AFAA4B;
box-shadow: 0 0 10px #AFAA4B;
border: 2px solid #AFAA4B;
Tailwind Usage
bg-[#AFAA4B]
text-[#AFAA4B]
border-[#AFAA4B]
shadow-[0_0_10px_AFAA4B]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #AFAA4B, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #AFAA4B; color: #000000; }

Badge

New Feature
.badge { background-color: #AFAA4B; color: #000000; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #AFAA4B; background-color: #AFAA4B15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #AFAA4B20; border-left: 4px solid #AFAA4B; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #AFAA4B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #AFAA4B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 170, 75

Red: 175 / Green: 170 / Blue: 75

HSL

57°, 40%, 49%

Hue: 57° / Saturation: 40% / Lightness: 49%

CMYK

0%, 3%, 57%, 31%

Cyan: 0% / Magenta: 3% / Yellow: 57% / Key: 31%

What color is #AFAA4B?

#AFAA4B is a orange-yellow hue associated with optimism and creativity.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFAA4B to RGB:

rgb(175, 170, 75)HEX to RGB Converter →

HEX to HSL

Convert #AFAA4B to HSL:

hsl(57, 40%, 49%)RGB to HSL Converter →

HEX to CMYK

Convert #AFAA4B to CMYK:

cmyk(0%, 3%, 57%, 31%)Color Converter →

Color Meaning and Usage

#AFAA4B is a gentle yellow color with RGB values of 175, 170, 75 and HSL of 57°, 40%, 49%. This orange-yellow hue evokes optimism and creativity, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AFAA4B is #4B50AF, creating high-contrast pairings. For softer combinations, try analogous colors like #AF784B.

Use #AFAA4B in CSS: color: #AFAA4B or background-color: #AFAA4B. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #AFAA4B

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 8.67:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFAA4B?

#AFAA4B is a gentle yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #AFAA4B?

#AFAA4B in RGB is (175, 170, 75) - 175 red, 170 green, and 75 blue.

How to use #AFAA4B in CSS?

Use #AFAA4B directly in your CSS properties like color or background-color.

What colors go well with #AFAA4B?

#4B50AF (complementary), #AF784B (analogous), and #797634 (lighter shade) work well with #AFAA4B.