Hex Color #CAF380 - Custom Color
Color Codes
HEX
#CAF380
RGB
rgb(202, 243, 128)
HSL
hsl(81, 83%, 73%)
CMYK
cmyk(17%, 0%, 47%, 5%)
HSV
hsv(81, 47%, 95%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.26:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 16.64: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: #CAF380;
color: #CAF380;
border-color: #CAF380;
}
Tailwind CSS (with arbitrary values)
bg-[#CAF380]
text-[#CAF380]
border-[#CAF380]
// Example usage:
<div className="bg-[#CAF380]">