Hex Color #05402E - Custom Color
Color Codes
HEX
#05402E
RGB
rgb(5, 64, 46)
HSL
hsl(162, 86%, 14%)
CMYK
cmyk(92%, 0%, 28%, 75%)
HSV
hsv(162, 92%, 25%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 11.80:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 1.78: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: #05402E;
color: #05402E;
border-color: #05402E;
}
Tailwind CSS (with arbitrary values)
bg-[#05402E]
text-[#05402E]
border-[#05402E]
// Example usage:
<div className="bg-[#05402E]">