Hex Color #CAC057 - Custom Color

Color Codes

HEX
#CAC057
RGB
rgb(202, 192, 87)
HSL
hsl(55, 52%, 57%)
CMYK
cmyk(0%, 5%, 57%, 21%)
HSV
hsv(55, 57%, 79%)
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.19: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: #CAC057;
color: #CAC057;
border-color: #CAC057;
}

Tailwind CSS (with arbitrary values)

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