#8F9852 Color Information

Hex color code: #8F9852

The hex color #8F9852 is a pastel yellow with RGB values of (143, 152, 82) and HSL of (68°, 30%, 46%). It is commonly used in modern UI design.

Try:
Color NameGray
HEX
#8F9852
RGB
143, 152, 82
HSL
68°, 30%, 46%
CMYK
6%, 0%, 46%, 40%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #8F9852; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

143, 152, 82

Red: 143 / Green: 152 / Blue: 82

HSL

68°, 30%, 46%

Hue: 68° / Saturation: 30% / Lightness: 46%

CMYK

6%, 0%, 46%, 40%

Cyan: 6% / Magenta: 0% / Yellow: 46% / Key: 40%

What color is #8F9852?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #8F9852 to RGB:

rgb(143, 152, 82)HEX to RGB Converter →

HEX to HSL

Convert #8F9852 to HSL:

hsl(68, 30%, 46%)RGB to HSL Converter →

HEX to CMYK

Convert #8F9852 to CMYK:

cmyk(6%, 0%, 46%, 40%)Color Converter →

Color Meaning and Usage

A subtle yellow tone, #8F9852 has RGB (143, 152, 82) and HSL (68°, 30%, 46%). Known for evoking nature and harmony, this green hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #8F9852 is #5B5298, creating high-contrast pairings. For softer combinations, try analogous colors like #987F52.

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

Contrast with #8F9852

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #8F9852?

#8F9852 is a subtle yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #8F9852?

#8F9852 in RGB is (143, 152, 82) - 143 red, 152 green, and 82 blue.

How to use #8F9852 in CSS?

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

What colors go well with #8F9852?

#5B5298 (complementary), #987F52 (analogous), and #606737 (lighter shade) work well with #8F9852.