#8B8B41 Color Information

Hex color code: #8B8B41

#8B8B41 is a pastel yellow color. In RGB it is (139, 139, 65), and in HSL it is (60°, 36%, 40%). It is commonly used in modern UI design.

Try:
Color NameOlive Drab
HEX
#8B8B41
RGB
139, 139, 65
HSL
60°, 36%, 40%
CMYK
0%, 0%, 53%, 45%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #8B8B41; 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 #8B8B41; background-color: #8B8B4115; }

Alert / Toast

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

Link / Accent

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

a { color: #8B8B41; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #8B8B41 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

139, 139, 65

Red: 139 / Green: 139 / Blue: 65

HSL

60°, 36%, 40%

Hue: 60° / Saturation: 36% / Lightness: 40%

CMYK

0%, 0%, 53%, 45%

Cyan: 0% / Magenta: 0% / Yellow: 53% / Key: 45%

What color is #8B8B41?

#8B8B41 is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #8B8B41 to RGB:

rgb(139, 139, 65)HEX to RGB Converter →

HEX to HSL

Convert #8B8B41 to HSL:

hsl(60, 36%, 40%)RGB to HSL Converter →

HEX to CMYK

Convert #8B8B41 to CMYK:

cmyk(0%, 0%, 53%, 45%)Color Converter →

Color Meaning and Usage

A subtle yellow tone, #8B8B41 has RGB (139, 139, 65) and HSL (60°, 36%, 40%). Known for evoking nature and harmony, this green hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #8B8B41 is #41418B, creating high-contrast pairings. For softer combinations, try analogous colors like #8B6641.

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

Contrast with #8B8B41

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

Contrast Ratio: 5.87:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #8B8B41?

#8B8B41 is a subtle yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #8B8B41?

#8B8B41 in RGB is (139, 139, 65) - 139 red, 139 green, and 65 blue.

How to use #8B8B41 in CSS?

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

What colors go well with #8B8B41?

#41418B (complementary), #8B6641 (analogous), and #575729 (lighter shade) work well with #8B8B41.