Hex Color #C6CA3A - Custom Color
Color Codes
HEX
#C6CA3A
RGB
rgb(198, 202, 58)
HSL
hsl(62, 58%, 51%)
CMYK
cmyk(2%, 0%, 71%, 21%)
HSV
hsv(62, 71%, 79%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.76:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 11.91:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Recommended Text Color
For best readability on this background color, use black text.
Similar Colors
Color in Use
Card with colored border
Background with 20% opacity
CSS Code
.element {
background-color: #C6CA3A;
color: #C6CA3A;
border-color: #C6CA3A;
}
Tailwind CSS (with arbitrary values)
bg-[#C6CA3A]
text-[#C6CA3A]
border-[#C6CA3A]
// Example usage:
<div className="bg-[#C6CA3A]">