Hex Color #EAF87C - Custom Color

Color Codes

HEX
#EAF87C
RGB
rgb(234, 248, 124)
HSL
hsl(67, 90%, 73%)
CMYK
cmyk(6%, 0%, 50%, 3%)
HSV
hsv(67, 50%, 97%)
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.22: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: #EAF87C;
color: #EAF87C;
border-color: #EAF87C;
}

Tailwind CSS (with arbitrary values)

bg-[#EAF87C]
text-[#EAF87C]
border-[#EAF87C]
// Example usage:
<div className="bg-[#EAF87C]">