Hex Color #BFA921 - Custom Color
Color Codes
HEX
#BFA921
RGB
rgb(191, 169, 33)
HSL
hsl(52, 71%, 44%)
CMYK
cmyk(0%, 12%, 83%, 25%)
HSV
hsv(52, 83%, 75%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.36:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 8.91: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: #BFA921;
color: #BFA921;
border-color: #BFA921;
}
Tailwind CSS (with arbitrary values)
bg-[#BFA921]
text-[#BFA921]
border-[#BFA921]
// Example usage:
<div className="bg-[#BFA921]">