Hex Color #31EC31 - Custom Color

Color Codes

HEX
#31EC31
RGB
rgb(49, 236, 49)
HSL
hsl(120, 83%, 56%)
CMYK
cmyk(79%, 0%, 79%, 7%)
HSV
hsv(120, 79%, 93%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 13.17: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: #31EC31;
color: #31EC31;
border-color: #31EC31;
}

Tailwind CSS (with arbitrary values)

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