#987E16 Color Information

Hex color code: #987E16

The hex color #987E16 is a eye-catching yellow with RGB values of (152, 126, 22) and HSL of (48°, 75%, 34%). It is widely used in graphic design.

Try:
Color NameOlive
HEX
#987E16
RGB
152, 126, 22
HSL
48°, 75%, 34%
CMYK
0%, 17%, 86%, 40%

Shades

CSS Usage
color: #987E16;
background-color: #987E16;
border-color: #987E16;
box-shadow: 0 0 10px #987E16;
border: 2px solid #987E16;
Tailwind Usage
bg-[#987E16]
text-[#987E16]
border-[#987E16]
shadow-[0_0_10px_987E16]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #987E16, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #987E16; color: #000000; }

Badge

New Feature
.badge { background-color: #987E16; 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 #987E16; background-color: #987E1615; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #987E1620; border-left: 4px solid #987E16; }

Link / Accent

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

a { color: #987E16; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #987E16 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

152, 126, 22

Red: 152 / Green: 126 / Blue: 22

HSL

48°, 75%, 34%

Hue: 48° / Saturation: 75% / Lightness: 34%

CMYK

0%, 17%, 86%, 40%

Cyan: 0% / Magenta: 17% / Yellow: 86% / Key: 40%

What color is #987E16?

#987E16 is a orange-yellow hue associated with optimism and creativity.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #987E16 to RGB:

rgb(152, 126, 22)HEX to RGB Converter →

HEX to HSL

Convert #987E16 to HSL:

hsl(48, 75%, 34%)RGB to HSL Converter →

HEX to CMYK

Convert #987E16 to CMYK:

cmyk(0%, 17%, 86%, 40%)Color Converter →

Color Meaning and Usage

A vivid yellow tone, #987E16 has RGB (152, 126, 22) and HSL (48°, 75%, 34%). Known for evoking optimism and creativity, this orange-yellow hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #987E16 is #163098, creating high-contrast pairings. For softer combinations, try analogous colors like #983D16.

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

Contrast with #987E16

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #987E16?

#987E16 is a vivid yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #987E16?

#987E16 in RGB is (152, 126, 22) - 152 red, 126 green, and 22 blue.

How to use #987E16 in CSS?

Use #987E16 directly in your CSS properties like color or background-color.

What colors go well with #987E16?

#163098 (complementary), #983D16 (analogous), and #55460C (lighter shade) work well with #987E16.