Hex Color #ECDA4F - Custom Color

Color Codes

HEX
#ECDA4F
RGB
rgb(236, 218, 79)
HSL
hsl(53, 81%, 62%)
CMYK
cmyk(0%, 8%, 67%, 7%)
HSV
hsv(53, 67%, 93%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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