Hex Color #C6A02F - Custom Color

Color Codes

HEX
#C6A02F
RGB
rgb(198, 160, 47)
HSL
hsl(45, 62%, 48%)
CMYK
cmyk(0%, 19%, 76%, 22%)
HSV
hsv(45, 76%, 78%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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