Hex Color #18710A - Custom Color
Color Codes
HEX
#18710A
RGB
rgb(24, 113, 10)
HSL
hsl(112, 84%, 24%)
CMYK
cmyk(79%, 0%, 91%, 56%)
HSV
hsv(112, 91%, 44%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.17:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.41: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: #18710A;
color: #18710A;
border-color: #18710A;
}
Tailwind CSS (with arbitrary values)
bg-[#18710A]
text-[#18710A]
border-[#18710A]
// Example usage:
<div className="bg-[#18710A]">