Hex Color #0C6954 - Custom Color
Color Codes
HEX
#0C6954
RGB
rgb(12, 105, 84)
HSL
hsl(166, 79%, 23%)
CMYK
cmyk(89%, 0%, 20%, 59%)
HSV
hsv(166, 89%, 41%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.64:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.16: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: #0C6954;
color: #0C6954;
border-color: #0C6954;
}
Tailwind CSS (with arbitrary values)
bg-[#0C6954]
text-[#0C6954]
border-[#0C6954]
// Example usage:
<div className="bg-[#0C6954]">