Hex Color #BAC28C - Custom Color
Color Codes
HEX
#BAC28C
RGB
rgb(186, 194, 140)
HSL
hsl(69, 31%, 65%)
CMYK
cmyk(4%, 0%, 28%, 24%)
HSV
hsv(69, 28%, 76%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.88:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 11.18: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: #BAC28C;
color: #BAC28C;
border-color: #BAC28C;
}
Tailwind CSS (with arbitrary values)
bg-[#BAC28C]
text-[#BAC28C]
border-[#BAC28C]
// Example usage:
<div className="bg-[#BAC28C]">