#B2B927 Color Information

Hex color code: #B2B927

A neutral yellow shade, #B2B927 appears as (178, 185, 39) in RGB and (63°, 65%, 44%) in HSL. It is commonly used in modern UI design.

Try:
Color NameYellow Green
HEX
#B2B927
RGB
178, 185, 39
HSL
63°, 65%, 44%
CMYK
4%, 0%, 79%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B2B927; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

178, 185, 39

Red: 178 / Green: 185 / Blue: 39

HSL

63°, 65%, 44%

Hue: 63° / Saturation: 65% / Lightness: 44%

CMYK

4%, 0%, 79%, 27%

Cyan: 4% / Magenta: 0% / Yellow: 79% / Key: 27%

What color is #B2B927?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B2B927 to RGB:

rgb(178, 185, 39)HEX to RGB Converter →

HEX to HSL

Convert #B2B927 to HSL:

hsl(63, 65%, 44%)RGB to HSL Converter →

HEX to CMYK

Convert #B2B927 to CMYK:

cmyk(4%, 0%, 79%, 27%)Color Converter →

Color Meaning and Usage

#B2B927 is a muted yellow color with RGB values of 178, 185, 39 and HSL of 63°, 65%, 44%. This green hue evokes nature and harmony, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B2B927 is #2F27B9, creating high-contrast pairings. For softer combinations, try analogous colors like #B97727.

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

Contrast with #B2B927

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B2B927?

#B2B927 is a muted yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #B2B927?

#B2B927 in RGB is (178, 185, 39) - 178 red, 185 green, and 39 blue.

How to use #B2B927 in CSS?

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

What colors go well with #B2B927?

#2F27B9 (complementary), #B97727 (analogous), and #757A1A (lighter shade) work well with #B2B927.