Hex Color #CDDC51 - Custom Color

Color Codes

HEX
#CDDC51
RGB
rgb(205, 220, 81)
HSL
hsl(66, 67%, 59%)
CMYK
cmyk(7%, 0%, 63%, 14%)
HSV
hsv(66, 63%, 86%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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