Hex Color #AFFF7C - Custom Color
Color Codes
HEX
#AFFF7C
RGB
rgb(175, 255, 124)
HSL
hsl(97, 100%, 74%)
CMYK
cmyk(31%, 0%, 51%, 0%)
HSV
hsv(97, 51%, 100%)
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.42: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: #AFFF7C;
color: #AFFF7C;
border-color: #AFFF7C;
}
Tailwind CSS (with arbitrary values)
bg-[#AFFF7C]
text-[#AFFF7C]
border-[#AFFF7C]
// Example usage:
<div className="bg-[#AFFF7C]">