#AFA797 Color Information

Hex color code: #AFA797

A subtle orange shade, #AFA797 appears as (175, 167, 151) in RGB and (40°, 13%, 64%) in HSL. It is popular in mobile app design.

Try:
Color NameRosy Brown
HEX
#AFA797
RGB
175, 167, 151
HSL
40°, 13%, 64%
CMYK
0%, 5%, 14%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AFA797; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 167, 151

Red: 175 / Green: 167 / Blue: 151

HSL

40°, 13%, 64%

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

CMYK

0%, 5%, 14%, 31%

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

What color is #AFA797?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFA797 to RGB:

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

HEX to HSL

Convert #AFA797 to HSL:

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

HEX to CMYK

Convert #AFA797 to CMYK:

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

Color Meaning and Usage

#AFA797 is a subtle orange color with RGB values of 175, 167, 151 and HSL of 40°, 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 #AFA797 is #979FAF, creating high-contrast pairings. For softer combinations, try analogous colors like #AF9B97.

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

Contrast with #AFA797

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFA797?

#AFA797 is a subtle orange color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #AFA797?

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

How to use #AFA797 in CSS?

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

What colors go well with #AFA797?

#979FAF (complementary), #AF9B97 (analogous), and #8D826D (lighter shade) work well with #AFA797.