Hex Color #C2E8AC - Custom Color

Color Codes

HEX
#C2E8AC
RGB
rgb(194, 232, 172)
HSL
hsl(98, 57%, 79%)
CMYK
cmyk(16%, 0%, 26%, 9%)
HSV
hsv(98, 26%, 91%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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