Hex Color #BFA12D - Custom Color
Color Codes
HEX
#BFA12D
RGB
rgb(191, 161, 45)
HSL
hsl(48, 62%, 46%)
CMYK
cmyk(0%, 16%, 76%, 25%)
HSV
hsv(48, 76%, 75%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.51:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 8.35: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: #BFA12D;
color: #BFA12D;
border-color: #BFA12D;
}
Tailwind CSS (with arbitrary values)
bg-[#BFA12D]
text-[#BFA12D]
border-[#BFA12D]
// Example usage:
<div className="bg-[#BFA12D]">