#AFAF97 Color Information

Hex color code: #AFAF97

A muted yellow shade, #AFAF97 appears as (175, 175, 151) in RGB and (60°, 13%, 64%) in HSL. It is typically applied in digital products.

Try:
Color NameRosy Brown
HEX
#AFAF97
RGB
175, 175, 151
HSL
60°, 13%, 64%
CMYK
0%, 0%, 14%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AFAF97; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 175, 151

Red: 175 / Green: 175 / Blue: 151

HSL

60°, 13%, 64%

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

CMYK

0%, 0%, 14%, 31%

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

What color is #AFAF97?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFAF97 to RGB:

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

HEX to HSL

Convert #AFAF97 to HSL:

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

HEX to CMYK

Convert #AFAF97 to CMYK:

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

Color Meaning and Usage

A neutral yellow tone, #AFAF97 has RGB (175, 175, 151) and HSL (60°, 13%, 64%). Known for evoking balance and subtlety, this desaturated neutral is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AFAF97 is #9797AF, creating high-contrast pairings. For softer combinations, try analogous colors like #AFA397.

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

Contrast with #AFAF97

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFAF97?

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

What is the RGB value of #AFAF97?

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

How to use #AFAF97 in CSS?

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

What colors go well with #AFAF97?

#9797AF (complementary), #AFA397 (analogous), and #8D8D6D (lighter shade) work well with #AFAF97.