Hex Color #CFAA24 - Custom Color

Color Codes

HEX
#CFAA24
RGB
rgb(207, 170, 36)
HSL
hsl(47, 70%, 48%)
CMYK
cmyk(0%, 18%, 83%, 19%)
HSV
hsv(47, 83%, 81%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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