Hex Color #306A37 - Custom Color
Color Codes
HEX
#306A37
RGB
rgb(48, 106, 55)
HSL
hsl(127, 38%, 30%)
CMYK
cmyk(55%, 0%, 48%, 58%)
HSV
hsv(127, 55%, 42%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.48:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.24: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: #306A37;
color: #306A37;
border-color: #306A37;
}
Tailwind CSS (with arbitrary values)
bg-[#306A37]
text-[#306A37]
border-[#306A37]
// Example usage:
<div className="bg-[#306A37]">