Hex Color #45945D - Custom Color
Color Codes
HEX
#45945D
RGB
rgb(69, 148, 93)
HSL
hsl(138, 36%, 43%)
CMYK
cmyk(53%, 0%, 37%, 42%)
HSV
hsv(138, 53%, 58%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.72:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.65: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: #45945D;
color: #45945D;
border-color: #45945D;
}
Tailwind CSS (with arbitrary values)
bg-[#45945D]
text-[#45945D]
border-[#45945D]
// Example usage:
<div className="bg-[#45945D]">