Hex Color #12AF5A - Custom Color
Color Codes
HEX
#12AF5A
RGB
rgb(18, 175, 90)
HSL
hsl(148, 81%, 38%)
CMYK
cmyk(90%, 0%, 49%, 31%)
HSV
hsv(148, 90%, 69%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.87:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.31: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: #12AF5A;
color: #12AF5A;
border-color: #12AF5A;
}
Tailwind CSS (with arbitrary values)
bg-[#12AF5A]
text-[#12AF5A]
border-[#12AF5A]
// Example usage:
<div className="bg-[#12AF5A]">