Hex Color #228E6C - Custom Color
Color Codes
HEX
#228E6C
RGB
rgb(34, 142, 108)
HSL
hsl(161, 61%, 35%)
CMYK
cmyk(76%, 0%, 24%, 44%)
HSV
hsv(161, 76%, 56%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.07:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.15: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: #228E6C;
color: #228E6C;
border-color: #228E6C;
}
Tailwind CSS (with arbitrary values)
bg-[#228E6C]
text-[#228E6C]
border-[#228E6C]
// Example usage:
<div className="bg-[#228E6C]">