Hex Color #EBA807 - Custom Color

Color Codes

HEX
#EBA807
RGB
rgb(235, 168, 7)
HSL
hsl(42, 94%, 47%)
CMYK
cmyk(0%, 29%, 97%, 8%)
HSV
hsv(42, 97%, 92%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 10.14:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)

Recommended Text Color

For best readability on this background color, use white text.

Similar Colors

Color in Use

Card with colored border

Background with 20% opacity

CSS Code

.element {
background-color: #EBA807;
color: #EBA807;
border-color: #EBA807;
}

Tailwind CSS (with arbitrary values)

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