#98A271 Color Information

Hex color code: #98A271

The hex color #98A271 is a subtle yellow with RGB values of (152, 162, 113) and HSL of (72°, 21%, 54%). It is popular in mobile app design.

Try:
Color NameDark Sea Green
HEX
#98A271
RGB
152, 162, 113
HSL
72°, 21%, 54%
CMYK
6%, 0%, 30%, 36%

Shades

CSS Usage
color: #98A271;
background-color: #98A271;
border-color: #98A271;
box-shadow: 0 0 10px #98A271;
border: 2px solid #98A271;
Tailwind Usage
bg-[#98A271]
text-[#98A271]
border-[#98A271]
shadow-[0_0_10px_98A271]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #98A271, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #98A271; color: #000000; }

Badge

New Feature
.badge { background-color: #98A271; 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 #98A271; background-color: #98A27115; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #98A27120; border-left: 4px solid #98A271; }

Link / Accent

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

a { color: #98A271; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #98A271 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

152, 162, 113

Red: 152 / Green: 162 / Blue: 113

HSL

72°, 21%, 54%

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

CMYK

6%, 0%, 30%, 36%

Cyan: 6% / Magenta: 0% / Yellow: 30% / Key: 36%

What color is #98A271?

#98A271 is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #98A271 to RGB:

rgb(152, 162, 113)HEX to RGB Converter →

HEX to HSL

Convert #98A271 to HSL:

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

HEX to CMYK

Convert #98A271 to CMYK:

cmyk(6%, 0%, 30%, 36%)Color Converter →

Color Meaning and Usage

#98A271 is a soft yellow color with RGB values of 152, 162, 113 and HSL of 72°, 21%, 54%. This green hue evokes nature and harmony, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #98A271 is #7B71A2, creating high-contrast pairings. For softer combinations, try analogous colors like #A29471.

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

Contrast with #98A271

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #98A271?

#98A271 is a soft yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #98A271?

#98A271 in RGB is (152, 162, 113) - 152 red, 162 green, and 113 blue.

How to use #98A271 in CSS?

Use #98A271 directly in your CSS properties like color or background-color.

What colors go well with #98A271?

#7B71A2 (complementary), #A29471 (analogous), and #70784F (lighter shade) work well with #98A271.