Hex Color #AFFD93 - Custom Color
Color Codes
HEX
#AFFD93
RGB
rgb(175, 253, 147)
HSL
hsl(104, 96%, 78%)
CMYK
cmyk(31%, 0%, 42%, 1%)
HSV
hsv(104, 42%, 99%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.21:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 17.29: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: #AFFD93;
color: #AFFD93;
border-color: #AFFD93;
}
Tailwind CSS (with arbitrary values)
bg-[#AFFD93]
text-[#AFFD93]
border-[#AFFD93]
// Example usage:
<div className="bg-[#AFFD93]">