Hex Color #30631E - Custom Color
Color Codes
HEX
#30631E
RGB
rgb(48, 99, 30)
HSL
hsl(104, 53%, 25%)
CMYK
cmyk(52%, 0%, 70%, 61%)
HSV
hsv(104, 70%, 39%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 7.17:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.93:1
Fail - 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: #30631E;
color: #30631E;
border-color: #30631E;
}
Tailwind CSS (with arbitrary values)
bg-[#30631E]
text-[#30631E]
border-[#30631E]
// Example usage:
<div className="bg-[#30631E]">