Hex Color #98F215 - Custom Color
Color Codes
HEX
#98F215
RGB
rgb(152, 242, 21)
HSL
hsl(84, 89%, 52%)
CMYK
cmyk(37%, 0%, 91%, 5%)
HSV
hsv(84, 91%, 95%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.40:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 15.05: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: #98F215;
color: #98F215;
border-color: #98F215;
}
Tailwind CSS (with arbitrary values)
bg-[#98F215]
text-[#98F215]
border-[#98F215]
// Example usage:
<div className="bg-[#98F215]">