Hex Color #EBEA48 - Custom Color

Color Codes

HEX
#EBEA48
RGB
rgb(235, 234, 72)
HSL
hsl(60, 80%, 60%)
CMYK
cmyk(0%, 0%, 69%, 8%)
HSV
hsv(60, 69%, 92%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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