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