Hex Color #98B378 - Custom Color

Color Codes

HEX
#98B378
RGB
rgb(152, 179, 120)
HSL
hsl(87, 28%, 59%)
CMYK
cmyk(15%, 0%, 33%, 30%)
HSV
hsv(87, 33%, 70%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 2.32:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 9.05:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)

Recommended Text Color

For best readability on this background color, use white text.

Similar Colors

Color in Use

Card with colored border

Background with 20% opacity

CSS Code

.element {
background-color: #98B378;
color: #98B378;
border-color: #98B378;
}

Tailwind CSS (with arbitrary values)

bg-[#98B378]
text-[#98B378]
border-[#98B378]
// Example usage:
<div className="bg-[#98B378]">