Hex Color #AFE39A - Custom Color
Color Codes
HEX
#AFE39A
RGB
rgb(175, 227, 154)
HSL
hsl(103, 57%, 75%)
CMYK
cmyk(23%, 0%, 32%, 11%)
HSV
hsv(103, 32%, 89%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.47:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 14.28: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: #AFE39A;
color: #AFE39A;
border-color: #AFE39A;
}
Tailwind CSS (with arbitrary values)
bg-[#AFE39A]
text-[#AFE39A]
border-[#AFE39A]
// Example usage:
<div className="bg-[#AFE39A]">