Hex Color #F7C42A - Custom Color
Color Codes
HEX
#F7C42A
RGB
rgb(247, 196, 42)
HSL
hsl(45, 93%, 57%)
CMYK
cmyk(0%, 21%, 83%, 3%)
HSV
hsv(45, 83%, 97%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.63:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 12.88:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Recommended Text Color
For best readability on this background color, use black text.
Similar Colors
Color in Use
Card with colored border
Background with 20% opacity
CSS Code
.element {
background-color: #F7C42A;
color: #F7C42A;
border-color: #F7C42A;
}
Tailwind CSS (with arbitrary values)
bg-[#F7C42A]
text-[#F7C42A]
border-[#F7C42A]
// Example usage:
<div className="bg-[#F7C42A]">