#B2B286 Color Information

Hex color code: #B2B286

#B2B286 is a pastel yellow color. In RGB it is (178, 178, 134), and in HSL it is (60°, 22%, 61%). It is frequently seen in web interfaces.

Try:
Color NameTan
HEX
#B2B286
RGB
178, 178, 134
HSL
60°, 22%, 61%
CMYK
0%, 0%, 25%, 30%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B2B286; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

178, 178, 134

Red: 178 / Green: 178 / Blue: 134

HSL

60°, 22%, 61%

Hue: 60° / Saturation: 22% / Lightness: 61%

CMYK

0%, 0%, 25%, 30%

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

What color is #B2B286?

#B2B286 is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B2B286 to RGB:

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

HEX to HSL

Convert #B2B286 to HSL:

hsl(60, 22%, 61%)RGB to HSL Converter →

HEX to CMYK

Convert #B2B286 to CMYK:

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

Color Meaning and Usage

#B2B286 is a gentle yellow color with RGB values of 178, 178, 134 and HSL of 60°, 22%, 61%. This green hue evokes nature and harmony, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B2B286 is #8686B1, creating high-contrast pairings. For softer combinations, try analogous colors like #B19C86.

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

Contrast with #B2B286

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B2B286?

#B2B286 is a gentle yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #B2B286?

#B2B286 in RGB is (178, 178, 134) - 178 red, 178 green, and 134 blue.

How to use #B2B286 in CSS?

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

What colors go well with #B2B286?

#8686B1 (complementary), #B19C86 (analogous), and #8F8F5B (lighter shade) work well with #B2B286.