Hex Color #A5B25F - Custom Color
Color Codes
HEX
#A5B25F
RGB
rgb(165, 178, 95)
HSL
hsl(69, 35%, 54%)
CMYK
cmyk(7%, 0%, 47%, 30%)
HSV
hsv(69, 47%, 70%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.30:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 9.13: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: #A5B25F;
color: #A5B25F;
border-color: #A5B25F;
}
Tailwind CSS (with arbitrary values)
bg-[#A5B25F]
text-[#A5B25F]
border-[#A5B25F]
// Example usage:
<div className="bg-[#A5B25F]">