Hex Color #CBE98C - Custom Color
Color Codes
HEX
#CBE98C
RGB
rgb(203, 233, 140)
HSL
hsl(79, 68%, 73%)
CMYK
cmyk(13%, 0%, 40%, 9%)
HSV
hsv(79, 40%, 91%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.35:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 15.57: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: #CBE98C;
color: #CBE98C;
border-color: #CBE98C;
}
Tailwind CSS (with arbitrary values)
bg-[#CBE98C]
text-[#CBE98C]
border-[#CBE98C]
// Example usage:
<div className="bg-[#CBE98C]">