Hex Color #AFE722 - Custom Color

Color Codes

HEX
#AFE722
RGB
rgb(175, 231, 34)
HSL
hsl(77, 80%, 52%)
CMYK
cmyk(24%, 0%, 85%, 9%)
HSV
hsv(77, 85%, 91%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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