#8C7D2C Color Information

Hex color code: #8C7D2C

The hex color #8C7D2C is a muted yellow with RGB values of (140, 125, 44) and HSL of (51°, 52%, 36%). It is typically applied in digital products.

Try:
Color NameOlive Drab
HEX
#8C7D2C
RGB
140, 125, 44
HSL
51°, 52%, 36%
CMYK
0%, 11%, 69%, 45%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #8C7D2C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

140, 125, 44

Red: 140 / Green: 125 / Blue: 44

HSL

51°, 52%, 36%

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

CMYK

0%, 11%, 69%, 45%

Cyan: 0% / Magenta: 11% / Yellow: 69% / Key: 45%

What color is #8C7D2C?

#8C7D2C is a orange-yellow hue associated with optimism and creativity.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #8C7D2C to RGB:

rgb(140, 125, 44)HEX to RGB Converter →

HEX to HSL

Convert #8C7D2C to HSL:

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

HEX to CMYK

Convert #8C7D2C to CMYK:

cmyk(0%, 11%, 69%, 45%)Color Converter →

Color Meaning and Usage

#8C7D2C is a understated yellow color with RGB values of 140, 125, 44 and HSL of 51°, 52%, 36%. This orange-yellow hue evokes optimism and creativity, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #8C7D2C is #2C3A8C, creating high-contrast pairings. For softer combinations, try analogous colors like #8C4D2C.

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

Contrast with #8C7D2C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #8C7D2C?

#8C7D2C is a understated yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #8C7D2C?

#8C7D2C in RGB is (140, 125, 44) - 140 red, 125 green, and 44 blue.

How to use #8C7D2C in CSS?

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

What colors go well with #8C7D2C?

#2C3A8C (complementary), #8C4D2C (analogous), and #51491A (lighter shade) work well with #8C7D2C.