Hex Color #256642 - Custom Color
Color Codes
HEX
#256642
RGB
rgb(37, 102, 66)
HSL
hsl(147, 47%, 27%)
CMYK
cmyk(64%, 0%, 35%, 60%)
HSV
hsv(147, 64%, 40%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.87:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.06: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: #256642;
color: #256642;
border-color: #256642;
}
Tailwind CSS (with arbitrary values)
bg-[#256642]
text-[#256642]
border-[#256642]
// Example usage:
<div className="bg-[#256642]">