Hex Color #CFDE8A - Custom Color
Color Codes
HEX
#CFDE8A
RGB
rgb(207, 222, 138)
HSL
hsl(71, 56%, 71%)
CMYK
cmyk(7%, 0%, 38%, 13%)
HSV
hsv(71, 38%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.45:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 14.47: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: #CFDE8A;
color: #CFDE8A;
border-color: #CFDE8A;
}
Tailwind CSS (with arbitrary values)
bg-[#CFDE8A]
text-[#CFDE8A]
border-[#CFDE8A]
// Example usage:
<div className="bg-[#CFDE8A]">