Hex Color #CFDB52 - Custom Color
Color Codes
HEX
#CFDB52
RGB
rgb(207, 219, 82)
HSL
hsl(65, 66%, 59%)
CMYK
cmyk(5%, 0%, 63%, 14%)
HSV
hsv(65, 63%, 86%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.51:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 13.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: #CFDB52;
color: #CFDB52;
border-color: #CFDB52;
}
Tailwind CSS (with arbitrary values)
bg-[#CFDB52]
text-[#CFDB52]
border-[#CFDB52]
// Example usage:
<div className="bg-[#CFDB52]">