Hex Color #BEA31F - Custom Color

Color Codes

HEX
#BEA31F
RGB
rgb(190, 163, 31)
HSL
hsl(50, 72%, 43%)
CMYK
cmyk(0%, 14%, 84%, 25%)
HSV
hsv(50, 84%, 75%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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