Hex Color #31DE48 - Custom Color

Color Codes

HEX
#31DE48
RGB
rgb(49, 222, 72)
HSL
hsl(128, 72%, 53%)
CMYK
cmyk(78%, 0%, 68%, 13%)
HSV
hsv(128, 78%, 87%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Recommended Text Color

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

Similar Colors

Color in Use

Card with colored border

Background with 20% opacity

CSS Code

.element {
background-color: #31DE48;
color: #31DE48;
border-color: #31DE48;
}

Tailwind CSS (with arbitrary values)

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