Hex Color #C2D98A - Custom Color

Color Codes

HEX
#C2D98A
RGB
rgb(194, 217, 138)
HSL
hsl(77, 51%, 70%)
CMYK
cmyk(11%, 0%, 36%, 15%)
HSV
hsv(77, 36%, 85%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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