Hex Color #EDF273 - Custom Color
Color Codes
HEX
#EDF273
RGB
rgb(237, 242, 115)
HSL
hsl(62, 83%, 70%)
CMYK
cmyk(2%, 0%, 52%, 5%)
HSV
hsv(62, 52%, 95%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.20:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 17.55: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: #EDF273;
color: #EDF273;
border-color: #EDF273;
}
Tailwind CSS (with arbitrary values)
bg-[#EDF273]
text-[#EDF273]
border-[#EDF273]
// Example usage:
<div className="bg-[#EDF273]">