#AFAA97 Color Information

Hex color code: #AFAA97

#AFAA97 is a muted yellow color. In RGB it is (175, 170, 151), and in HSL it is (47°, 13%, 64%). It is widely used in graphic design.

Try:
Color NameRosy Brown
HEX
#AFAA97
RGB
175, 170, 151
HSL
47°, 13%, 64%
CMYK
0%, 3%, 14%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AFAA97; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 170, 151

Red: 175 / Green: 170 / Blue: 151

HSL

47°, 13%, 64%

Hue: 47° / Saturation: 13% / Lightness: 64%

CMYK

0%, 3%, 14%, 31%

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

What color is #AFAA97?

#AFAA97 is a desaturated neutral associated with balance and subtlety.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFAA97 to RGB:

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

HEX to HSL

Convert #AFAA97 to HSL:

hsl(47, 13%, 64%)RGB to HSL Converter →

HEX to CMYK

Convert #AFAA97 to CMYK:

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

Color Meaning and Usage

#AFAA97 is a neutral yellow color with RGB values of 175, 170, 151 and HSL of 47°, 13%, 64%. This desaturated neutral evokes balance and subtlety, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AFAA97 is #979CAF, creating high-contrast pairings. For softer combinations, try analogous colors like #AF9E97.

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

Contrast with #AFAA97

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFAA97?

#AFAA97 is a neutral yellow color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #AFAA97?

#AFAA97 in RGB is (175, 170, 151) - 175 red, 170 green, and 151 blue.

How to use #AFAA97 in CSS?

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

What colors go well with #AFAA97?

#979CAF (complementary), #AF9E97 (analogous), and #8D866D (lighter shade) work well with #AFAA97.