#97841C Color Information

Hex color code: #97841C

#97841C is a neutral yellow color. In RGB it is (151, 132, 28), and in HSL it is (51°, 69%, 35%). It is commonly used in modern UI design.

Try:
Color NameOlive
HEX
#97841C
RGB
151, 132, 28
HSL
51°, 69%, 35%
CMYK
0%, 13%, 81%, 41%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #97841C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

151, 132, 28

Red: 151 / Green: 132 / Blue: 28

HSL

51°, 69%, 35%

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

CMYK

0%, 13%, 81%, 41%

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

What color is #97841C?

#97841C is a orange-yellow hue associated with optimism and creativity.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #97841C to RGB:

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

HEX to HSL

Convert #97841C to HSL:

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

HEX to CMYK

Convert #97841C to CMYK:

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

Color Meaning and Usage

A neutral yellow tone, #97841C has RGB (151, 132, 28) and HSL (51°, 69%, 35%). Known for evoking optimism and creativity, this orange-yellow hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #97841C is #1C2E97, creating high-contrast pairings. For softer combinations, try analogous colors like #97471C.

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

Contrast with #97841C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #97841C?

#97841C is a neutral yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #97841C?

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

How to use #97841C in CSS?

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

What colors go well with #97841C?

#1C2E97 (complementary), #97471C (analogous), and #564C10 (lighter shade) work well with #97841C.