#97971C Color Information

Hex color code: #97971C

The hex color #97971C is a neutral yellow with RGB values of (151, 151, 28) and HSL of (60°, 69%, 35%). It is commonly used in modern UI design.

Try:
Color NameDark Goldenrod
HEX
#97971C
RGB
151, 151, 28
HSL
60°, 69%, 35%
CMYK
0%, 0%, 81%, 41%

Shades

CSS Usage
color: #97971C;
background-color: #97971C;
border-color: #97971C;
box-shadow: 0 0 10px #97971C;
border: 2px solid #97971C;
Tailwind Usage
bg-[#97971C]
text-[#97971C]
border-[#97971C]
shadow-[0_0_10px_97971C]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #97971C, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #97971C; color: #000000; }

Badge

New Feature
.badge { background-color: #97971C; 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 #97971C; background-color: #97971C15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #97971C20; border-left: 4px solid #97971C; }

Link / Accent

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

a { color: #97971C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #97971C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

151, 151, 28

Red: 151 / Green: 151 / Blue: 28

HSL

60°, 69%, 35%

Hue: 60° / Saturation: 69% / Lightness: 35%

CMYK

0%, 0%, 81%, 41%

Cyan: 0% / Magenta: 0% / Yellow: 81% / Key: 41%

What color is #97971C?

#97971C is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #97971C to RGB:

rgb(151, 151, 28)HEX to RGB Converter →

HEX to HSL

Convert #97971C to HSL:

hsl(60, 69%, 35%)RGB to HSL Converter →

HEX to CMYK

Convert #97971C to CMYK:

cmyk(0%, 0%, 81%, 41%)Color Converter →

Color Meaning and Usage

A neutral yellow tone, #97971C has RGB (151, 151, 28) and HSL (60°, 69%, 35%). Known for evoking nature and harmony, this green hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #97971C is #1C1C97, creating high-contrast pairings. For softer combinations, try analogous colors like #97591C.

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

Contrast with #97971C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #97971C?

#97971C is a neutral yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #97971C?

#97971C in RGB is (151, 151, 28) - 151 red, 151 green, and 28 blue.

How to use #97971C in CSS?

Use #97971C directly in your CSS properties like color or background-color.

What colors go well with #97971C?

#1C1C97 (complementary), #97591C (analogous), and #565610 (lighter shade) work well with #97971C.