Hex Color #BAC478 - Custom Color
Color Codes
HEX
#BAC478
RGB
rgb(186, 196, 120)
HSL
hsl(68, 39%, 62%)
CMYK
cmyk(5%, 0%, 39%, 23%)
HSV
hsv(68, 39%, 77%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.87:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 11.26:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Recommended Text Color
For best readability on this background color, use black text.
Similar Colors
Color in Use
Card with colored border
Background with 20% opacity
CSS Code
.element {
background-color: #BAC478;
color: #BAC478;
border-color: #BAC478;
}
Tailwind CSS (with arbitrary values)
bg-[#BAC478]
text-[#BAC478]
border-[#BAC478]
// Example usage:
<div className="bg-[#BAC478]">