Hex Color #2AFC33 - Custom Color
Color Codes
HEX
#2AFC33
RGB
rgb(42, 252, 51)
HSL
hsl(123, 97%, 58%)
CMYK
cmyk(83%, 0%, 80%, 1%)
HSV
hsv(123, 83%, 99%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.39:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 15.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: #2AFC33;
color: #2AFC33;
border-color: #2AFC33;
}
Tailwind CSS (with arbitrary values)
bg-[#2AFC33]
text-[#2AFC33]
border-[#2AFC33]
// Example usage:
<div className="bg-[#2AFC33]">