Hex Color #CCD45B - Custom Color

Color Codes

HEX
#CCD45B
RGB
rgb(204, 212, 91)
HSL
hsl(64, 58%, 59%)
CMYK
cmyk(4%, 0%, 57%, 17%)
HSV
hsv(64, 57%, 83%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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