Hex Color #CDBF52 - Custom Color

Color Codes

HEX
#CDBF52
RGB
rgb(205, 191, 82)
HSL
hsl(53, 55%, 56%)
CMYK
cmyk(0%, 7%, 60%, 20%)
HSV
hsv(53, 60%, 80%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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