Hex Color #CCAD31 - Custom Color

Color Codes

HEX
#CCAD31
RGB
rgb(204, 173, 49)
HSL
hsl(48, 61%, 50%)
CMYK
cmyk(0%, 15%, 76%, 20%)
HSV
hsv(48, 76%, 80%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 9.59:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)

Recommended Text Color

For best readability on this background color, use white text.

Similar Colors

Color in Use

Card with colored border

Background with 20% opacity

CSS Code

.element {
background-color: #CCAD31;
color: #CCAD31;
border-color: #CCAD31;
}

Tailwind CSS (with arbitrary values)

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