#80871D Color Information

Hex color code: #80871D

#80871D is a balanced yellow color. In RGB it is (128, 135, 29), and in HSL it is (64°, 65%, 32%). It is frequently seen in web interfaces.

Try:
Color NameOlive Drab
HEX
#80871D
RGB
128, 135, 29
HSL
64°, 65%, 32%
CMYK
5%, 0%, 79%, 47%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #80871D; 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 #80871D; background-color: #80871D15; }

Alert / Toast

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

Link / Accent

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

a { color: #80871D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #80871D in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

128, 135, 29

Red: 128 / Green: 135 / Blue: 29

HSL

64°, 65%, 32%

Hue: 64° / Saturation: 65% / Lightness: 32%

CMYK

5%, 0%, 79%, 47%

Cyan: 5% / Magenta: 0% / Yellow: 79% / Key: 47%

What color is #80871D?

#80871D is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #80871D to RGB:

rgb(128, 135, 29)HEX to RGB Converter →

HEX to HSL

Convert #80871D to HSL:

hsl(64, 65%, 32%)RGB to HSL Converter →

HEX to CMYK

Convert #80871D to CMYK:

cmyk(5%, 0%, 79%, 47%)Color Converter →

Color Meaning and Usage

A neutral yellow tone, #80871D has RGB (128, 135, 29) and HSL (64°, 65%, 32%). Known for evoking nature and harmony, this green hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #80871D is #241D87, creating high-contrast pairings. For softer combinations, try analogous colors like #87591D.

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

Contrast with #80871D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #80871D?

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

What is the RGB value of #80871D?

#80871D in RGB is (128, 135, 29) - 128 red, 135 green, and 29 blue.

How to use #80871D in CSS?

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

What colors go well with #80871D?

#241D87 (complementary), #87591D (analogous), and #44480F (lighter shade) work well with #80871D.