Hex Color #CFCB15 - Custom Color
Color Codes
HEX
#CFCB15
RGB
rgb(207, 203, 21)
HSL
hsl(59, 82%, 45%)
CMYK
cmyk(0%, 2%, 90%, 19%)
HSV
hsv(59, 90%, 81%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.72:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 12.21: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: #CFCB15;
color: #CFCB15;
border-color: #CFCB15;
}
Tailwind CSS (with arbitrary values)
bg-[#CFCB15]
text-[#CFCB15]
border-[#CFCB15]
// Example usage:
<div className="bg-[#CFCB15]">