Hex Color #C5F97D - Custom Color
Color Codes
HEX
#C5F97D
RGB
rgb(197, 249, 125)
HSL
hsl(85, 91%, 73%)
CMYK
cmyk(21%, 0%, 50%, 2%)
HSV
hsv(85, 50%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.22:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 17.22: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: #C5F97D;
color: #C5F97D;
border-color: #C5F97D;
}
Tailwind CSS (with arbitrary values)
bg-[#C5F97D]
text-[#C5F97D]
border-[#C5F97D]
// Example usage:
<div className="bg-[#C5F97D]">