Hex Color #CED381 - Custom Color

Color Codes

HEX
#CED381
RGB
rgb(206, 211, 129)
HSL
hsl(64, 48%, 67%)
CMYK
cmyk(2%, 0%, 39%, 17%)
HSV
hsv(64, 39%, 83%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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