Hex Color #CCA30C - Custom Color

Color Codes

HEX
#CCA30C
RGB
rgb(204, 163, 12)
HSL
hsl(47, 89%, 42%)
CMYK
cmyk(0%, 20%, 94%, 20%)
HSV
hsv(47, 94%, 80%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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