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