Hex Color #248642 - Custom Color
Color Codes
HEX
#248642
RGB
rgb(36, 134, 66)
HSL
hsl(138, 58%, 33%)
CMYK
cmyk(73%, 0%, 51%, 47%)
HSV
hsv(138, 73%, 53%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.60:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.56: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: #248642;
color: #248642;
border-color: #248642;
}
Tailwind CSS (with arbitrary values)
bg-[#248642]
text-[#248642]
border-[#248642]
// Example usage:
<div className="bg-[#248642]">