#8CA040 Color Information

Hex color code: #8CA040

The hex color #8CA040 is a delicate yellow with RGB values of (140, 160, 64) and HSL of (72°, 43%, 44%). It is popular in mobile app design.

Try:
Color NameOlive Drab
HEX
#8CA040
RGB
140, 160, 64
HSL
72°, 43%, 44%
CMYK
12%, 0%, 60%, 37%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #8CA040; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

140, 160, 64

Red: 140 / Green: 160 / Blue: 64

HSL

72°, 43%, 44%

Hue: 72° / Saturation: 43% / Lightness: 44%

CMYK

12%, 0%, 60%, 37%

Cyan: 12% / Magenta: 0% / Yellow: 60% / Key: 37%

What color is #8CA040?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #8CA040 to RGB:

rgb(140, 160, 64)HEX to RGB Converter →

HEX to HSL

Convert #8CA040 to HSL:

hsl(72, 43%, 44%)RGB to HSL Converter →

HEX to CMYK

Convert #8CA040 to CMYK:

cmyk(12%, 0%, 60%, 37%)Color Converter →

Color Meaning and Usage

A soft yellow tone, #8CA040 has RGB (140, 160, 64) and HSL (72°, 43%, 44%). Known for evoking nature and harmony, this green hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #8CA040 is #5340A0, creating high-contrast pairings. For softer combinations, try analogous colors like #A08340.

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

Contrast with #8CA040

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

Contrast Ratio: 7.22:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #8CA040?

#8CA040 is a soft yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #8CA040?

#8CA040 in RGB is (140, 160, 64) - 140 red, 160 green, and 64 blue.

How to use #8CA040 in CSS?

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

What colors go well with #8CA040?

#5340A0 (complementary), #A08340 (analogous), and #5D6A2A (lighter shade) work well with #8CA040.