#AFAA46 Color Information

Hex color code: #AFAA46

The hex color #AFAA46 is a soft yellow with RGB values of (175, 170, 70) and HSL of (57°, 43%, 48%). It is typically applied in digital products.

Try:
Color NameYellow Green
HEX
#AFAA46
RGB
175, 170, 70
HSL
57°, 43%, 48%
CMYK
0%, 3%, 60%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #AFAA46; 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 #AFAA46; background-color: #AFAA4615; }

Alert / Toast

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

Link / Accent

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

a { color: #AFAA46; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 170, 70

Red: 175 / Green: 170 / Blue: 70

HSL

57°, 43%, 48%

Hue: 57° / Saturation: 43% / Lightness: 48%

CMYK

0%, 3%, 60%, 31%

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

What color is #AFAA46?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFAA46 to RGB:

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

HEX to HSL

Convert #AFAA46 to HSL:

hsl(57, 43%, 48%)RGB to HSL Converter →

HEX to CMYK

Convert #AFAA46 to CMYK:

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

Color Meaning and Usage

A gentle yellow tone, #AFAA46 has RGB (175, 170, 70) and HSL (57°, 43%, 48%). Known for evoking optimism and creativity, this orange-yellow hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AFAA46 is #464BAF, creating high-contrast pairings. For softer combinations, try analogous colors like #AF7546.

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

Contrast with #AFAA46

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFAA46?

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

What is the RGB value of #AFAA46?

#AFAA46 in RGB is (175, 170, 70) - 175 red, 170 green, and 70 blue.

How to use #AFAA46 in CSS?

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

What colors go well with #AFAA46?

#464BAF (complementary), #AF7546 (analogous), and #787530 (lighter shade) work well with #AFAA46.