Hex Color #C0BC2C - Custom Color
Color Codes
HEX
#C0BC2C
RGB
rgb(192, 188, 44)
HSL
hsl(58, 63%, 46%)
CMYK
cmyk(0%, 2%, 77%, 25%)
HSV
hsv(58, 77%, 75%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.01:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 10.47:1
Pass - WCAG AA (Normal Text)
Pass - 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: #C0BC2C;
color: #C0BC2C;
border-color: #C0BC2C;
}
Tailwind CSS (with arbitrary values)
bg-[#C0BC2C]
text-[#C0BC2C]
border-[#C0BC2C]
// Example usage:
<div className="bg-[#C0BC2C]">