Hex Color #C3A811 - Custom Color

Color Codes

HEX
#C3A811
RGB
rgb(195, 168, 17)
HSL
hsl(51, 84%, 42%)
CMYK
cmyk(0%, 14%, 91%, 24%)
HSV
hsv(51, 91%, 76%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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