#AFB2A1 Color Information

Hex color code: #AFB2A1

#AFB2A1 is a understated yellow color. In RGB it is (175, 178, 161), and in HSL it is (71°, 10%, 66%). It is widely used in graphic design.

Try:
Color NameSilver
HEX
#AFB2A1
RGB
175, 178, 161
HSL
71°, 10%, 66%
CMYK
2%, 0%, 10%, 30%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AFB2A1; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 178, 161

Red: 175 / Green: 178 / Blue: 161

HSL

71°, 10%, 66%

Hue: 71° / Saturation: 10% / Lightness: 66%

CMYK

2%, 0%, 10%, 30%

Cyan: 2% / Magenta: 0% / Yellow: 10% / Key: 30%

What color is #AFB2A1?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFB2A1 to RGB:

rgb(175, 178, 161)HEX to RGB Converter →

HEX to HSL

Convert #AFB2A1 to HSL:

hsl(71, 10%, 66%)RGB to HSL Converter →

HEX to CMYK

Convert #AFB2A1 to CMYK:

cmyk(2%, 0%, 10%, 30%)Color Converter →

Color Meaning and Usage

A balanced yellow tone, #AFB2A1 has RGB (175, 178, 161) and HSL (71°, 10%, 66%). Known for evoking balance and subtlety, this desaturated neutral is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AFB2A1 is #A3A0B1, creating high-contrast pairings. For softer combinations, try analogous colors like #B1ABA0.

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

Contrast with #AFB2A1

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFB2A1?

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

What is the RGB value of #AFB2A1?

#AFB2A1 in RGB is (175, 178, 161) - 175 red, 178 green, and 161 blue.

How to use #AFB2A1 in CSS?

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

What colors go well with #AFB2A1?

#A3A0B1 (complementary), #B1ABA0 (analogous), and #8A8F76 (lighter shade) work well with #AFB2A1.