Hex Color #498250 - Custom Color
Color Codes
HEX
#498250
RGB
rgb(73, 130, 80)
HSL
hsl(127, 28%, 40%)
CMYK
cmyk(44%, 0%, 38%, 49%)
HSV
hsv(127, 44%, 51%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.57:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.59: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: #498250;
color: #498250;
border-color: #498250;
}
Tailwind CSS (with arbitrary values)
bg-[#498250]
text-[#498250]
border-[#498250]
// Example usage:
<div className="bg-[#498250]">