Hex Color #AFEB92 - Custom Color

Color Codes

HEX
#AFEB92
RGB
rgb(175, 235, 146)
HSL
hsl(100, 69%, 75%)
CMYK
cmyk(26%, 0%, 38%, 8%)
HSV
hsv(100, 38%, 92%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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