Hex Color #C7AD24 - Custom Color
Color Codes
HEX
#C7AD24
RGB
rgb(199, 173, 36)
HSL
hsl(50, 69%, 46%)
CMYK
cmyk(0%, 13%, 82%, 22%)
HSV
hsv(50, 82%, 78%)
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: #C7AD24;
color: #C7AD24;
border-color: #C7AD24;
}
Tailwind CSS (with arbitrary values)
bg-[#C7AD24]
text-[#C7AD24]
border-[#C7AD24]
// Example usage:
<div className="bg-[#C7AD24]">