#877D40 Color Information

Hex color code: #877D40

The hex color #877D40 is a gentle yellow with RGB values of (135, 125, 64) and HSL of (52°, 36%, 39%). It is frequently seen in web interfaces.

Try:
Color NameOlive Drab
HEX
#877D40
RGB
135, 125, 64
HSL
52°, 36%, 39%
CMYK
0%, 7%, 53%, 47%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #877D40; 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 #877D40; background-color: #877D4015; }

Alert / Toast

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

Link / Accent

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

a { color: #877D40; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #877D40 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

135, 125, 64

Red: 135 / Green: 125 / Blue: 64

HSL

52°, 36%, 39%

Hue: 52° / Saturation: 36% / Lightness: 39%

CMYK

0%, 7%, 53%, 47%

Cyan: 0% / Magenta: 7% / Yellow: 53% / Key: 47%

What color is #877D40?

#877D40 is a orange-yellow hue associated with optimism and creativity.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #877D40 to RGB:

rgb(135, 125, 64)HEX to RGB Converter →

HEX to HSL

Convert #877D40 to HSL:

hsl(52, 36%, 39%)RGB to HSL Converter →

HEX to CMYK

Convert #877D40 to CMYK:

cmyk(0%, 7%, 53%, 47%)Color Converter →

Color Meaning and Usage

A soft yellow tone, #877D40 has RGB (135, 125, 64) and HSL (52°, 36%, 39%). Known for evoking optimism and creativity, this orange-yellow hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #877D40 is #404987, creating high-contrast pairings. For softer combinations, try analogous colors like #875A40.

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

Contrast with #877D40

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #877D40?

#877D40 is a soft yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #877D40?

#877D40 in RGB is (135, 125, 64) - 135 red, 125 green, and 64 blue.

How to use #877D40 in CSS?

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

What colors go well with #877D40?

#404987 (complementary), #875A40 (analogous), and #534D27 (lighter shade) work well with #877D40.