#7B894D Color Information

Hex color code: #7B894D

The hex color #7B894D is a soft yellow with RGB values of (123, 137, 77) and HSL of (74°, 28%, 42%). It is typically applied in digital products.

Try:
Color NameOlive Drab
HEX
#7B894D
RGB
123, 137, 77
HSL
74°, 28%, 42%
CMYK
10%, 0%, 44%, 46%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #7B894D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #7B894D in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

123, 137, 77

Red: 123 / Green: 137 / Blue: 77

HSL

74°, 28%, 42%

Hue: 74° / Saturation: 28% / Lightness: 42%

CMYK

10%, 0%, 44%, 46%

Cyan: 10% / Magenta: 0% / Yellow: 44% / Key: 46%

What color is #7B894D?

#7B894D is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #7B894D to RGB:

rgb(123, 137, 77)HEX to RGB Converter →

HEX to HSL

Convert #7B894D to HSL:

hsl(74, 28%, 42%)RGB to HSL Converter →

HEX to CMYK

Convert #7B894D to CMYK:

cmyk(10%, 0%, 44%, 46%)Color Converter →

Color Meaning and Usage

#7B894D is a soft yellow color with RGB values of 123, 137, 77 and HSL of 74°, 28%, 42%. This green hue evokes nature and harmony, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #7B894D is #5B4D89, creating high-contrast pairings. For softer combinations, try analogous colors like #89794D.

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

Contrast with #7B894D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #7B894D?

#7B894D is a soft yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #7B894D?

#7B894D in RGB is (123, 137, 77) - 123 red, 137 green, and 77 blue.

How to use #7B894D in CSS?

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

What colors go well with #7B894D?

#5B4D89 (complementary), #89794D (analogous), and #4F5832 (lighter shade) work well with #7B894D.