Hex Color #04754B - Custom Color
Color Codes
HEX
#04754B
RGB
rgb(4, 117, 75)
HSL
hsl(158, 93%, 24%)
CMYK
cmyk(97%, 0%, 36%, 54%)
HSV
hsv(158, 97%, 46%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.75:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.65: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: #04754B;
color: #04754B;
border-color: #04754B;
}
Tailwind CSS (with arbitrary values)
bg-[#04754B]
text-[#04754B]
border-[#04754B]
// Example usage:
<div className="bg-[#04754B]">