Hex Color #C8F71C - Custom Color
Color Codes
HEX
#C8F71C
RGB
rgb(200, 247, 28)
HSL
hsl(73, 93%, 54%)
CMYK
cmyk(19%, 0%, 89%, 3%)
HSV
hsv(73, 89%, 97%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.25:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 16.78: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: #C8F71C;
color: #C8F71C;
border-color: #C8F71C;
}
Tailwind CSS (with arbitrary values)
bg-[#C8F71C]
text-[#C8F71C]
border-[#C8F71C]
// Example usage:
<div className="bg-[#C8F71C]">