Hex Color #ECC405 - Custom Color

Color Codes

HEX
#ECC405
RGB
rgb(236, 196, 5)
HSL
hsl(50, 96%, 47%)
CMYK
cmyk(0%, 17%, 98%, 7%)
HSV
hsv(50, 98%, 93%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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