Hex Color #D8F40B - Custom Color
Color Codes
HEX
#D8F40B
RGB
rgb(216, 244, 11)
HSL
hsl(67, 91%, 50%)
CMYK
cmyk(11%, 0%, 95%, 4%)
HSV
hsv(67, 95%, 96%)
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.86: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: #D8F40B;
color: #D8F40B;
border-color: #D8F40B;
}
Tailwind CSS (with arbitrary values)
bg-[#D8F40B]
text-[#D8F40B]
border-[#D8F40B]
// Example usage:
<div className="bg-[#D8F40B]">