Hex Color #427E27 - Custom Color
Color Codes
HEX
#427E27
RGB
rgb(66, 126, 39)
HSL
hsl(101, 53%, 32%)
CMYK
cmyk(48%, 0%, 69%, 51%)
HSV
hsv(101, 69%, 49%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.95:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.25: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: #427E27;
color: #427E27;
border-color: #427E27;
}
Tailwind CSS (with arbitrary values)
bg-[#427E27]
text-[#427E27]
border-[#427E27]
// Example usage:
<div className="bg-[#427E27]">