Hex Color #30491E - Custom Color
Color Codes
HEX
#30491E
RGB
rgb(48, 73, 30)
HSL
hsl(95, 42%, 20%)
CMYK
cmyk(34%, 0%, 59%, 71%)
HSV
hsv(95, 59%, 29%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 10.01:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.10: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: #30491E;
color: #30491E;
border-color: #30491E;
}
Tailwind CSS (with arbitrary values)
bg-[#30491E]
text-[#30491E]
border-[#30491E]
// Example usage:
<div className="bg-[#30491E]">