Hex Color #45902F - Custom Color
Color Codes
HEX
#45902F
RGB
rgb(69, 144, 47)
HSL
hsl(106, 51%, 37%)
CMYK
cmyk(52%, 0%, 67%, 44%)
HSV
hsv(106, 67%, 56%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.97:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.28: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: #45902F;
color: #45902F;
border-color: #45902F;
}
Tailwind CSS (with arbitrary values)
bg-[#45902F]
text-[#45902F]
border-[#45902F]
// Example usage:
<div className="bg-[#45902F]">