Hex Color #046150 - Custom Color
Color Codes
HEX
#046150
RGB
rgb(4, 97, 80)
HSL
hsl(169, 92%, 20%)
CMYK
cmyk(96%, 0%, 18%, 62%)
HSV
hsv(169, 96%, 38%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 7.42:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.83: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: #046150;
color: #046150;
border-color: #046150;
}
Tailwind CSS (with arbitrary values)
bg-[#046150]
text-[#046150]
border-[#046150]
// Example usage:
<div className="bg-[#046150]">