Hex Color #046D27 - Custom Color
Color Codes
HEX
#046D27
RGB
rgb(4, 109, 39)
HSL
hsl(140, 93%, 22%)
CMYK
cmyk(96%, 0%, 64%, 57%)
HSV
hsv(140, 96%, 43%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.52:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.22: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: #046D27;
color: #046D27;
border-color: #046D27;
}
Tailwind CSS (with arbitrary values)
bg-[#046D27]
text-[#046D27]
border-[#046D27]
// Example usage:
<div className="bg-[#046D27]">