Hex Color #C8E296 - Custom Color

Color Codes

HEX
#C8E296
RGB
rgb(200, 226, 150)
HSL
hsl(81, 57%, 74%)
CMYK
cmyk(12%, 0%, 34%, 11%)
HSV
hsv(81, 34%, 89%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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