Hex Color #CCD78B - Custom Color
Color Codes
HEX
#CCD78B
RGB
rgb(204, 215, 139)
HSL
hsl(69, 49%, 69%)
CMYK
cmyk(5%, 0%, 35%, 16%)
HSV
hsv(69, 35%, 84%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.54:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 13.66: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: #CCD78B;
color: #CCD78B;
border-color: #CCD78B;
}
Tailwind CSS (with arbitrary values)
bg-[#CCD78B]
text-[#CCD78B]
border-[#CCD78B]
// Example usage:
<div className="bg-[#CCD78B]">