Hex Color #DCE7AC - Custom Color

Color Codes

HEX
#DCE7AC
RGB
rgb(220, 231, 172)
HSL
hsl(71, 55%, 79%)
CMYK
cmyk(5%, 0%, 26%, 9%)
HSV
hsv(71, 26%, 91%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 16.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: #DCE7AC;
color: #DCE7AC;
border-color: #DCE7AC;
}

Tailwind CSS (with arbitrary values)

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