Hex Color #AFE225 - Custom Color

Color Codes

HEX
#AFE225
RGB
rgb(175, 226, 37)
HSL
hsl(76, 77%, 52%)
CMYK
cmyk(23%, 0%, 84%, 11%)
HSV
hsv(76, 84%, 89%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 13.73: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: #AFE225;
color: #AFE225;
border-color: #AFE225;
}

Tailwind CSS (with arbitrary values)

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