Hex Color #68B218 - Custom Color
Color Codes
HEX
#68B218
RGB
rgb(104, 178, 24)
HSL
hsl(89, 76%, 40%)
CMYK
cmyk(42%, 0%, 87%, 30%)
HSV
hsv(89, 87%, 70%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.63:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.97:1
Pass - WCAG AA (Normal Text)
Pass - 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: #68B218;
color: #68B218;
border-color: #68B218;
}
Tailwind CSS (with arbitrary values)
bg-[#68B218]
text-[#68B218]
border-[#68B218]
// Example usage:
<div className="bg-[#68B218]">