Hex Color #C8AD0C - Custom Color

Color Codes

HEX
#C8AD0C
RGB
rgb(200, 173, 12)
HSL
hsl(51, 89%, 42%)
CMYK
cmyk(0%, 13%, 94%, 22%)
HSV
hsv(51, 94%, 78%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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