Hex Color #EAF2CC - Custom Color

Color Codes

HEX
#EAF2CC
RGB
rgb(234, 242, 204)
HSL
hsl(73, 59%, 87%)
CMYK
cmyk(3%, 0%, 16%, 5%)
HSV
hsv(73, 16%, 95%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 1.16:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 18.07: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: #EAF2CC;
color: #EAF2CC;
border-color: #EAF2CC;
}

Tailwind CSS (with arbitrary values)

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