Hex Color #D5E50B - Custom Color

Color Codes

HEX
#D5E50B
RGB
rgb(213, 229, 11)
HSL
hsl(64, 91%, 47%)
CMYK
cmyk(7%, 0%, 95%, 10%)
HSV
hsv(64, 95%, 90%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 1.40:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 15.04: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: #D5E50B;
color: #D5E50B;
border-color: #D5E50B;
}

Tailwind CSS (with arbitrary values)

bg-[#D5E50B]
text-[#D5E50B]
border-[#D5E50B]
// Example usage:
<div className="bg-[#D5E50B]">