Hex Color #AFE166 - Custom Color

Color Codes

HEX
#AFE166
RGB
rgb(175, 225, 102)
HSL
hsl(84, 67%, 64%)
CMYK
cmyk(22%, 0%, 55%, 12%)
HSV
hsv(84, 55%, 88%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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