Hex Color #418B2A - Custom Color
Color Codes
HEX
#418B2A
RGB
rgb(65, 139, 42)
HSL
hsl(106, 54%, 35%)
CMYK
cmyk(53%, 0%, 70%, 45%)
HSV
hsv(106, 70%, 55%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.24:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.95:1
Pass - WCAG AA (Normal Text)
Fail - 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: #418B2A;
color: #418B2A;
border-color: #418B2A;
}
Tailwind CSS (with arbitrary values)
bg-[#418B2A]
text-[#418B2A]
border-[#418B2A]
// Example usage:
<div className="bg-[#418B2A]">