Hex Color #EDB42F - Custom Color

Color Codes

HEX
#EDB42F
RGB
rgb(237, 180, 47)
HSL
hsl(42, 84%, 56%)
CMYK
cmyk(0%, 24%, 80%, 7%)
HSV
hsv(42, 80%, 93%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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