Hex Color #FFC302 - Custom Color
Color Codes
HEX
#FFC302
RGB
rgb(255, 195, 2)
HSL
hsl(46, 100%, 50%)
CMYK
cmyk(0%, 24%, 99%, 0%)
HSV
hsv(46, 99%, 100%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.61:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 13.06: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: #FFC302;
color: #FFC302;
border-color: #FFC302;
}
Tailwind CSS (with arbitrary values)
bg-[#FFC302]
text-[#FFC302]
border-[#FFC302]
// Example usage:
<div className="bg-[#FFC302]">