Hex Color #C7AC3B - Custom Color

Color Codes

HEX
#C7AC3B
RGB
rgb(199, 172, 59)
HSL
hsl(48, 56%, 51%)
CMYK
cmyk(0%, 14%, 70%, 22%)
HSV
hsv(48, 70%, 78%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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