Hex Color #ECEB8D - Custom Color

Color Codes

HEX
#ECEB8D
RGB
rgb(236, 235, 141)
HSL
hsl(59, 71%, 74%)
CMYK
cmyk(0%, 0%, 40%, 7%)
HSV
hsv(59, 40%, 93%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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