#B8D331 Color Information

Hex color code: #B8D331

A subtle yellow shade, #B8D331 appears as (184, 211, 49) in RGB and (70°, 65%, 51%) in HSL. It is popular in mobile app design.

Try:
Color NameYellow Green
HEX
#B8D331
RGB
184, 211, 49
HSL
70°, 65%, 51%
CMYK
13%, 0%, 77%, 17%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B8D331; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

184, 211, 49

Red: 184 / Green: 211 / Blue: 49

HSL

70°, 65%, 51%

Hue: 70° / Saturation: 65% / Lightness: 51%

CMYK

13%, 0%, 77%, 17%

Cyan: 13% / Magenta: 0% / Yellow: 77% / Key: 17%

What color is #B8D331?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B8D331 to RGB:

rgb(184, 211, 49)HEX to RGB Converter →

HEX to HSL

Convert #B8D331 to HSL:

hsl(70, 65%, 51%)RGB to HSL Converter →

HEX to CMYK

Convert #B8D331 to CMYK:

cmyk(13%, 0%, 77%, 17%)Color Converter →

Color Meaning and Usage

#B8D331 is a neutral yellow color with RGB values of 184, 211, 49 and HSL of 70°, 65%, 51%. This green hue evokes nature and harmony, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B8D331 is #4C31D3, creating high-contrast pairings. For softer combinations, try analogous colors like #D39D31.

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

Contrast with #B8D331

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B8D331?

#B8D331 is a neutral yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #B8D331?

#B8D331 in RGB is (184, 211, 49) - 184 red, 211 green, and 49 blue.

How to use #B8D331 in CSS?

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

What colors go well with #B8D331?

#4C31D3 (complementary), #D39D31 (analogous), and #849720 (lighter shade) work well with #B8D331.