Hex Color #D7ED87 - Custom Color
Color Codes
HEX
#D7ED87
RGB
rgb(215, 237, 135)
HSL
hsl(73, 74%, 73%)
CMYK
cmyk(9%, 0%, 43%, 7%)
HSV
hsv(73, 43%, 93%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.28:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 16.35: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: #D7ED87;
color: #D7ED87;
border-color: #D7ED87;
}
Tailwind CSS (with arbitrary values)
bg-[#D7ED87]
text-[#D7ED87]
border-[#D7ED87]
// Example usage:
<div className="bg-[#D7ED87]">