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