Hex Color #DDFC7A - Custom Color
Color Codes
HEX
#DDFC7A
RGB
rgb(221, 252, 122)
HSL
hsl(74, 96%, 73%)
CMYK
cmyk(12%, 0%, 52%, 1%)
HSV
hsv(74, 52%, 99%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.15:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 18.28: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: #DDFC7A;
color: #DDFC7A;
border-color: #DDFC7A;
}
Tailwind CSS (with arbitrary values)
bg-[#DDFC7A]
text-[#DDFC7A]
border-[#DDFC7A]
// Example usage:
<div className="bg-[#DDFC7A]">