Hex Color #BFAF38 - Custom Color

Color Codes

HEX
#BFAF38
RGB
rgb(191, 175, 56)
HSL
hsl(53, 55%, 48%)
CMYK
cmyk(0%, 8%, 71%, 25%)
HSV
hsv(53, 71%, 75%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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