#B2B2AB Color Information

Hex color code: #B2B2AB

The hex color #B2B2AB is a balanced yellow with RGB values of (178, 178, 171) and HSL of (60°, 4%, 68%). It is frequently seen in web interfaces.

Try:
Color NameSilver
HEX
#B2B2AB
RGB
178, 178, 171
HSL
60°, 4%, 68%
CMYK
0%, 0%, 4%, 30%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B2B2AB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

178, 178, 171

Red: 178 / Green: 178 / Blue: 171

HSL

60°, 4%, 68%

Hue: 60° / Saturation: 4% / Lightness: 68%

CMYK

0%, 0%, 4%, 30%

Cyan: 0% / Magenta: 0% / Yellow: 4% / Key: 30%

What color is #B2B2AB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B2B2AB to RGB:

rgb(178, 178, 171)HEX to RGB Converter →

HEX to HSL

Convert #B2B2AB to HSL:

hsl(60, 4%, 68%)RGB to HSL Converter →

HEX to CMYK

Convert #B2B2AB to CMYK:

cmyk(0%, 0%, 4%, 30%)Color Converter →

Color Meaning and Usage

A subtle yellow tone, #B2B2AB has RGB (178, 178, 171) and HSL (60°, 4%, 68%). Known for evoking balance and subtlety, this desaturated neutral is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B2B2AB is #AAAAB1, creating high-contrast pairings. For softer combinations, try analogous colors like #B1ADAA.

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

Contrast with #B2B2AB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B2B2AB?

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

What is the RGB value of #B2B2AB?

#B2B2AB in RGB is (178, 178, 171) - 178 red, 178 green, and 171 blue.

How to use #B2B2AB in CSS?

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

What colors go well with #B2B2AB?

#AAAAB1 (complementary), #B1ADAA (analogous), and #8C8C82 (lighter shade) work well with #B2B2AB.