Hex Color #418522 - Custom Color
Color Codes
HEX
#418522
RGB
rgb(65, 133, 34)
HSL
hsl(101, 59%, 33%)
CMYK
cmyk(51%, 0%, 74%, 48%)
HSV
hsv(101, 74%, 52%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.56:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.60: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: #418522;
color: #418522;
border-color: #418522;
}
Tailwind CSS (with arbitrary values)
bg-[#418522]
text-[#418522]
border-[#418522]
// Example usage:
<div className="bg-[#418522]">