#9FA522 Color Information

Hex color code: #9FA522

A understated yellow shade, #9FA522 appears as (159, 165, 34) in RGB and (63°, 66%, 39%) in HSL. It is widely used in graphic design.

Try:
Color NameYellow Green
HEX
#9FA522
RGB
159, 165, 34
HSL
63°, 66%, 39%
CMYK
4%, 0%, 79%, 35%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #9FA522; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

159, 165, 34

Red: 159 / Green: 165 / Blue: 34

HSL

63°, 66%, 39%

Hue: 63° / Saturation: 66% / Lightness: 39%

CMYK

4%, 0%, 79%, 35%

Cyan: 4% / Magenta: 0% / Yellow: 79% / Key: 35%

What color is #9FA522?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #9FA522 to RGB:

rgb(159, 165, 34)HEX to RGB Converter →

HEX to HSL

Convert #9FA522 to HSL:

hsl(63, 66%, 39%)RGB to HSL Converter →

HEX to CMYK

Convert #9FA522 to CMYK:

cmyk(4%, 0%, 79%, 35%)Color Converter →

Color Meaning and Usage

A subtle yellow tone, #9FA522 has RGB (159, 165, 34) and HSL (63°, 66%, 39%). 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 #9FA522 is #2822A5, creating high-contrast pairings. For softer combinations, try analogous colors like #A56A22.

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

Contrast with #9FA522

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #9FA522?

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

What is the RGB value of #9FA522?

#9FA522 in RGB is (159, 165, 34) - 159 red, 165 green, and 34 blue.

How to use #9FA522 in CSS?

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

What colors go well with #9FA522?

#2822A5 (complementary), #A56A22 (analogous), and #626615 (lighter shade) work well with #9FA522.