#9FA87A Color Information

Hex color code: #9FA87A

The hex color #9FA87A is a pastel yellow with RGB values of (159, 168, 122) and HSL of (72°, 21%, 57%). It is commonly used in modern UI design.

Try:
Color NameDark Sea Green
HEX
#9FA87A
RGB
159, 168, 122
HSL
72°, 21%, 57%
CMYK
5%, 0%, 27%, 34%

Shades

CSS Usage
color: #9FA87A;
background-color: #9FA87A;
border-color: #9FA87A;
box-shadow: 0 0 10px #9FA87A;
border: 2px solid #9FA87A;
Tailwind Usage
bg-[#9FA87A]
text-[#9FA87A]
border-[#9FA87A]
shadow-[0_0_10px_9FA87A]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #9FA87A, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #9FA87A; color: #000000; }

Badge

New Feature
.badge { background-color: #9FA87A; 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 #9FA87A; background-color: #9FA87A15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #9FA87A20; border-left: 4px solid #9FA87A; }

Link / Accent

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

a { color: #9FA87A; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #9FA87A in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

159, 168, 122

Red: 159 / Green: 168 / Blue: 122

HSL

72°, 21%, 57%

Hue: 72° / Saturation: 21% / Lightness: 57%

CMYK

5%, 0%, 27%, 34%

Cyan: 5% / Magenta: 0% / Yellow: 27% / Key: 34%

What color is #9FA87A?

#9FA87A is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #9FA87A to RGB:

rgb(159, 168, 122)HEX to RGB Converter →

HEX to HSL

Convert #9FA87A to HSL:

hsl(72, 21%, 57%)RGB to HSL Converter →

HEX to CMYK

Convert #9FA87A to CMYK:

cmyk(5%, 0%, 27%, 34%)Color Converter →

Color Meaning and Usage

#9FA87A is a subtle yellow color with RGB values of 159, 168, 122 and HSL of 72°, 21%, 57%. 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 #9FA87A is #847AA8, creating high-contrast pairings. For softer combinations, try analogous colors like #A89B7A.

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

Contrast with #9FA87A

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #9FA87A?

#9FA87A is a subtle yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #9FA87A?

#9FA87A in RGB is (159, 168, 122) - 159 red, 168 green, and 122 blue.

How to use #9FA87A in CSS?

Use #9FA87A directly in your CSS properties like color or background-color.

What colors go well with #9FA87A?

#847AA8 (complementary), #A89B7A (analogous), and #798255 (lighter shade) work well with #9FA87A.